Click here to Skip to main content
15,887,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Other option in place of Sleep. Pin
David Crow18-Aug-09 3:15
David Crow18-Aug-09 3:15 
AnswerRe: Other option in place of Sleep. Pin
Joe Woodbury18-Aug-09 11:20
professionalJoe Woodbury18-Aug-09 11:20 
AnswerRe: Other option in place of Sleep. Pin
KarstenK19-Aug-09 3:23
mveKarstenK19-Aug-09 3:23 
QuestionWhen press enter over ListCtrl OK button click event called. Pin
Le@rner17-Aug-09 18:14
Le@rner17-Aug-09 18:14 
AnswerRe: When press enter over ListCtrl OK button click event called. Pin
Code-o-mat17-Aug-09 21:54
Code-o-mat17-Aug-09 21:54 
QuestionAccess to Locigal Drives under Vista Pin
Bram van Kampen17-Aug-09 13:56
Bram van Kampen17-Aug-09 13:56 
AnswerRe: Access to Locigal Drives under Vista Pin
Michael Dunn17-Aug-09 15:06
sitebuilderMichael Dunn17-Aug-09 15:06 
GeneralRe: Access to Locigal Drives under Vista Pin
Bram van Kampen18-Aug-09 11:01
Bram van Kampen18-Aug-09 11:01 
Michael Dunn wrote:
You have to have admin privs to open a physical drive or volume


Hmm. Does one get Admin Privs when running in Safe Mode? If so, that would explain why everything works as advertised in Safe Mode.

Amazingly I found no difficulty opening the Physical Drive. The program fails because I try to open the Logical Drive in order to find out what physical drive it is mounted on.

Is there anything I can do with lpSecurityDescriptor, so that the operation acts as if the user has admin privileges. After all, I can open and display the drive from Windows Explorer, without having Admin Privs.

Failing that, is there a way of setting things up to get the thing to start up in Admin mode by default. In the home edition at least, it just seems to start up without asking for logon and password.

Thanks and Regards, Smile | :)

Bram van Kampen

GeneralRe: Access to Locigal Drives under Vista Pin
Bram van Kampen18-Aug-09 14:35
Bram van Kampen18-Aug-09 14:35 
GeneralRe: Access to Locigal Drives under Vista Pin
Michael Dunn18-Aug-09 16:20
sitebuilderMichael Dunn18-Aug-09 16:20 
GeneralRe: Access to Locigal Drives under Vista Pin
Bram van Kampen23-Aug-09 13:39
Bram van Kampen23-Aug-09 13:39 
AnswerRe: Access to Locigal Drives under Vista Pin
bob1697217-Aug-09 17:32
bob1697217-Aug-09 17:32 
QuestionImporting a class from a DLL with a different name Pin
Code-o-mat17-Aug-09 11:48
Code-o-mat17-Aug-09 11:48 
AnswerRe: Importing a class from a DLL with a different name Pin
Bram van Kampen17-Aug-09 14:09
Bram van Kampen17-Aug-09 14:09 
GeneralRe: Importing a class from a DLL with a different name Pin
Code-o-mat17-Aug-09 21:10
Code-o-mat17-Aug-09 21:10 
GeneralRe: Importing a class from a DLL with a different name Pin
Bram van Kampen18-Aug-09 0:07
Bram van Kampen18-Aug-09 0:07 
AnswerRe: Importing a class from a DLL with a different name Pin
KarstenK19-Aug-09 3:25
mveKarstenK19-Aug-09 3:25 
GeneralRe: Importing a class from a DLL with a different name Pin
Code-o-mat19-Aug-09 5:32
Code-o-mat19-Aug-09 5:32 
QuestionHooking a api function using jmp instruction implent Pin
jhon cage17-Aug-09 9:37
jhon cage17-Aug-09 9:37 
AnswerRe: Hooking a api function using jmp instruction implent Pin
Bram van Kampen17-Aug-09 14:26
Bram van Kampen17-Aug-09 14:26 
QuestionCreateFile problem Pin
birajendu17-Aug-09 4:38
birajendu17-Aug-09 4:38 
AnswerRe: CreateFile problem Pin
Ahmed Charfeddine17-Aug-09 4:50
Ahmed Charfeddine17-Aug-09 4:50 
AnswerRe: CreateFile problem Pin
David Crow17-Aug-09 4:58
David Crow17-Aug-09 4:58 
GeneralRe: CreateFile problem Pin
birajendu17-Aug-09 6:49
birajendu17-Aug-09 6:49 
QuestionBest place to call GdiplusStartup in an MFC MDI Application Pin
bob1697217-Aug-09 4:25
bob1697217-Aug-09 4:25 

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.