Article View: borland.public.cppbuilder.nativeapi
Article #748Re: Get user SID with LookupAccountName
From: Dennis Jones
Date: Thu, 24 Jan 2008 15:18
Date: Thu, 24 Jan 2008 15:18
13 lines
1509 bytes
1509 bytes
"Mike Collins" <its@TheBottomOfThePost> wrote in message news:4798a5a6$1@newsgroups.borland.com... > 2) Why do you use LocalFree? In my implementation i use GlobalFree - what > is the difference in using these two? In earlier versions of windows (16-bit), GlobalAlloc allocated memory from the global heap while LocalAlloc allocated memory from the local heap. However, in Win32, there is no difference between the global and local heaps so, as I understand it, the Global/Local functions have identical behavior. - Dennis
Technical Details
Message-ID:
<4798ac5b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4797d1c8@newsgroups.borland.com> <4797e247$1@newsgroups.borland.com> <4798a5a6$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4137c5655902c5b4 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Dennis Jones" <nospam@nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4797d1c8@newsgroups.borland.com> <4797e247$1@newsgroups.borland.com> <4798a5a6$1@newsgroups.borland.com> Subject: Re: Get user SID with LookupAccountName Date: Thu, 24 Jan 2008 07:18:52 -0800 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 71.245.109.58 Message-ID: <4798ac5b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1201187931 71.245.109.58 (24 Jan 2008 07:18:51 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail