Click here to Skip to main content
15,914,413 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: win32 threads Pin
Blake V. Miller8-Jul-05 16:29
Blake V. Miller8-Jul-05 16:29 
Generalto IE programmers Pin
llp00na8-Jul-05 8:08
llp00na8-Jul-05 8:08 
GeneralRe: to IE programmers Pin
Jose Lamas Rios8-Jul-05 10:47
Jose Lamas Rios8-Jul-05 10:47 
GeneralRe: to IE programmers Pin
Ravi Bhavnani8-Jul-05 11:40
professionalRavi Bhavnani8-Jul-05 11:40 
GeneralRe: to IE programmers Pin
ThatsAlok8-Jul-05 21:21
ThatsAlok8-Jul-05 21:21 
GeneralHelp with LookupAccountSid Pin
Dimitris Vikeloudas8-Jul-05 5:54
Dimitris Vikeloudas8-Jul-05 5:54 
GeneralRe: Help with LookupAccountSid Pin
David Crow8-Jul-05 6:07
David Crow8-Jul-05 6:07 
GeneralRe: Help with LookupAccountSid..still looking Pin
Dimitris Vikeloudas8-Jul-05 6:22
Dimitris Vikeloudas8-Jul-05 6:22 
Thanks. I do not think that the GetNamedSecurityInfo versus a combination GetFileSecurity,
GetSecurityOwnerDescriptor will make much difference. To my view if I have two functions I localise slightly the failure. In the GetFileSecurity I know that I faild to get the file SID whilst with GetSecurityOwnerDescriptor I know I faild to get the owner account SID. Unless the GetNamedSecurityInfo returns a different account SID from the proposed combination.

My real question is again the two calls of the LookupAccountSid. Like your case how do I know that the first one faild due to zero buffer size and not for any other reason (e.g. the file is across the network and the network went down when I was examining, or the file is been deleted and been left with a duggling pSidOwner). Also will one call set both buffer sizes or one of them and then will fail again because the second buffer is still NULL?

Any detailed documentation on the failures will be great.

Its an art to keep things simple
GeneralRe: Help with LookupAccountSid..still looking Pin
David Crow8-Jul-05 8:11
David Crow8-Jul-05 8:11 
GeneralUnderstanding Debug Information Displayed Pin
jerry1211a8-Jul-05 5:28
jerry1211a8-Jul-05 5:28 
GeneralRe: Understanding Debug Information Displayed Pin
S. Senthil Kumar8-Jul-05 6:03
S. Senthil Kumar8-Jul-05 6:03 
GeneralRe: Understanding Debug Information Displayed Pin
Tom Archer8-Jul-05 6:56
Tom Archer8-Jul-05 6:56 
GeneralIcon of an executable file Pin
voda8-Jul-05 5:10
voda8-Jul-05 5:10 
GeneralRe: Icon of an executable file Pin
David Crow8-Jul-05 5:40
David Crow8-Jul-05 5:40 
GeneralRe: Icon of an executable file Pin
Blake V. Miller8-Jul-05 16:44
Blake V. Miller8-Jul-05 16:44 
GeneralVC7, PROPVARIANT, #import Pin
peterchen8-Jul-05 4:41
peterchen8-Jul-05 4:41 
GeneralMultithreaded Client Pin
vadimpl8-Jul-05 4:32
vadimpl8-Jul-05 4:32 
GeneralRe: Multithreaded Client Pin
Ravi Bhavnani8-Jul-05 11:43
professionalRavi Bhavnani8-Jul-05 11:43 
GeneralDouble pointers question Pin
Budric B.8-Jul-05 4:06
Budric B.8-Jul-05 4:06 
GeneralRe: Double pointers question Pin
David Crow8-Jul-05 5:37
David Crow8-Jul-05 5:37 
GeneralRe: Double pointers question Pin
John R. Shaw8-Jul-05 10:13
John R. Shaw8-Jul-05 10:13 
GeneralRe: Double pointers question Pin
Toby Opferman8-Jul-05 10:31
Toby Opferman8-Jul-05 10:31 
GeneralDisplaying MFC dialog Pin
cdm5z8-Jul-05 3:39
cdm5z8-Jul-05 3:39 
GeneralRe: Displaying MFC dialog Pin
Manfred Staiger8-Jul-05 3:55
Manfred Staiger8-Jul-05 3:55 
GeneralRe: Displaying MFC dialog Pin
cdm5z8-Jul-05 4:03
cdm5z8-Jul-05 4:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.