Click here to Skip to main content
15,918,303 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: USB notification Pin
peterchen1-Jun-03 18:46
peterchen1-Jun-03 18:46 
QuestionCToolBar in a dialog? Pin
Steven M Hunt1-Jun-03 9:19
Steven M Hunt1-Jun-03 9:19 
AnswerRe: CToolBar in a dialog? Pin
W. Hammer -sledge-1-Jun-03 11:38
W. Hammer -sledge-1-Jun-03 11:38 
GeneralFile write Permission Pin
kindi1-Jun-03 9:19
kindi1-Jun-03 9:19 
GeneralRe: File write Permission Pin
Dominik Reichl1-Jun-03 9:27
Dominik Reichl1-Jun-03 9:27 
GeneralHow to obtain Network ID Pin
kindi2-Jun-03 8:16
kindi2-Jun-03 8:16 
GeneralRe: How to obtain Network ID Pin
Dominik Reichl2-Jun-03 8:37
Dominik Reichl2-Jun-03 8:37 
GeneralRe: How to obtain Network ID Pin
kindi2-Jun-03 10:23
kindi2-Jun-03 10:23 
Hi
Thank you once agian..

GetSecurityInfo() fn gives a pointer to the owner SID which needs a valid handle of open file.
LookupAccountSid() returns the account name but needs system name and a pointer to the owner SID(can be obtained from GetSecurityInfo()) .

So what we need really is system name of the process which opened the file and a valid handle of the open file
CreateFile() returns INVALID_HANDLE_VALUE for an open file whose write permission is denied.

What we have is only a file name..I don't know how to get those two parameters
Do you have more suggestions like using a mutex or opening a socket??

Thanking You
Kindi
GeneralDisplaying JPEG/BMP/GIF images in a dialog using VS.NET C++ Pin
Franz Granlund1-Jun-03 9:09
Franz Granlund1-Jun-03 9:09 
GeneralRe: Displaying JPEG/BMP/GIF images in a dialog using VS.NET C++ Pin
Steven M Hunt1-Jun-03 9:18
Steven M Hunt1-Jun-03 9:18 
GeneralRe: Displaying JPEG/BMP/GIF images in a dialog using VS.NET C++ Pin
Ken Mazaika1-Jun-03 15:57
Ken Mazaika1-Jun-03 15:57 
GeneralSearch Algorithms - for a Range Pin
Giles1-Jun-03 8:05
Giles1-Jun-03 8:05 
GeneralRe: Search Algorithms - for a Range Pin
Vikram A Punathambekar1-Jun-03 8:49
Vikram A Punathambekar1-Jun-03 8:49 
GeneralRe: Search Algorithms - for a Range Pin
Giles1-Jun-03 9:03
Giles1-Jun-03 9:03 
GeneralRe: Search Algorithms - for a Range Pin
Nick Parker1-Jun-03 9:30
protectorNick Parker1-Jun-03 9:30 
GeneralRe: Search Algorithms - for a Range Pin
Giles1-Jun-03 9:44
Giles1-Jun-03 9:44 
GeneralRe: Search Algorithms - for a Range Pin
Joaquín M López Muñoz1-Jun-03 19:45
Joaquín M López Muñoz1-Jun-03 19:45 
GeneralRe: Search Algorithms - for a Range Pin
peterchen1-Jun-03 20:39
peterchen1-Jun-03 20:39 
GeneralAudio Pin
Ken Mazaika1-Jun-03 7:03
Ken Mazaika1-Jun-03 7:03 
GeneralRe: Audio Pin
IceMatrix1-Jun-03 10:10
IceMatrix1-Jun-03 10:10 
Questionhow to add,modify and delete data from mysql server. Help me!!! Pin
siong1-Jun-03 5:58
siong1-Jun-03 5:58 
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
John M. Drescher1-Jun-03 7:21
John M. Drescher1-Jun-03 7:21 
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
siong1-Jun-03 8:53
siong1-Jun-03 8:53 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
Anonymous1-Jun-03 9:08
Anonymous1-Jun-03 9:08 
AnswerRe: how to add,modify and delete data from mysql server. Help me!!! Pin
siong1-Jun-03 16:36
siong1-Jun-03 16:36 

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.