Click here to Skip to main content
15,888,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Current user registry problem Pin
Mark Salsbery20-Oct-06 9:29
Mark Salsbery20-Oct-06 9:29 
AnswerRe: Current user registry problem Pin
Gary R. Wheeler20-Oct-06 11:36
Gary R. Wheeler20-Oct-06 11:36 
QuestionRegCreateKeyEx - Problems on Win Vista RC2 [modified] Pin
Nick_Chr20-Oct-06 1:14
Nick_Chr20-Oct-06 1:14 
AnswerRe: RegCreateKeyEx - Problems on Win Vista RC2 Pin
David Crow20-Oct-06 2:57
David Crow20-Oct-06 2:57 
GeneralRe: RegCreateKeyEx - Problems on Win Vista RC2 Pin
Nick_Chr20-Oct-06 3:24
Nick_Chr20-Oct-06 3:24 
GeneralRe: RegCreateKeyEx - Problems on Win Vista RC2 Pin
David Crow20-Oct-06 3:33
David Crow20-Oct-06 3:33 
AnswerRe: RegCreateKeyEx - Problems on Win Vista RC2 Pin
Michael Dunn20-Oct-06 8:26
sitebuilderMichael Dunn20-Oct-06 8:26 
AnswerSOLVED IT : RegCreateKeyEx - Problems on Win Vista RC2 Pin
Nick_Chr22-Oct-06 22:46
Nick_Chr22-Oct-06 22:46 
Thank you DavidCrow and Michael Dunn for your answers.

I managed to find the solution to the problem. Apparently Vista is using a new security component named User Account Control (UAC). When it is switched on you have to ask for permision to have full access from the user.
I don't know how right or wrong my solution is, but what I found is to use a wrapper executable file that executes my main app. To do this I used the ShellExecute call passing as operation the "RunAs" keyword. Doing this it asks for permision to run my main app, and from there my first code worked as in XP without any problems...

Thank you again for your help.

Nick...

QuestionPROG TO ERASE...help Pin
zetkonrad20-Oct-06 1:09
zetkonrad20-Oct-06 1:09 
AnswerRe: PROG TO ERASE...help Pin
benjymous20-Oct-06 1:21
benjymous20-Oct-06 1:21 
GeneralRe: PROG TO ERASE...help Pin
PJ Arends20-Oct-06 6:06
professionalPJ Arends20-Oct-06 6:06 
GeneralRe: PROG TO ERASE...help Pin
Gary R. Wheeler20-Oct-06 11:45
Gary R. Wheeler20-Oct-06 11:45 
GeneralRe: PROG TO ERASE...help Pin
PJ Arends20-Oct-06 15:42
professionalPJ Arends20-Oct-06 15:42 
AnswerRe: PROG TO ERASE...help Pin
Hamid_RT20-Oct-06 2:34
Hamid_RT20-Oct-06 2:34 
QuestionRe: PROG TO ERASE...help Pin
David Crow20-Oct-06 2:59
David Crow20-Oct-06 2:59 
AnswerRe: PROG TO ERASE...help Pin
zetkonrad20-Oct-06 3:22
zetkonrad20-Oct-06 3:22 
Questiona question related to C Pin
Member 79930320-Oct-06 1:07
Member 79930320-Oct-06 1:07 
AnswerRe: a question related to C [modified] Pin
prasad_som20-Oct-06 1:13
prasad_som20-Oct-06 1:13 
AnswerRe: a question related to C Pin
benjymous20-Oct-06 1:14
benjymous20-Oct-06 1:14 
GeneralRe: a question related to C Pin
Member 79930321-Oct-06 0:06
Member 79930321-Oct-06 0:06 
AnswerRe: a question related to C Pin
Christian Graus20-Oct-06 1:14
protectorChristian Graus20-Oct-06 1:14 
AnswerRe: a question related to C Pin
David Crow20-Oct-06 2:59
David Crow20-Oct-06 2:59 
GeneralRe: a question related to C Pin
benjymous20-Oct-06 1:18
benjymous20-Oct-06 1:18 
QuestionHow to create icon during runtime? Pin
petrkar20-Oct-06 1:06
petrkar20-Oct-06 1:06 
AnswerRe: How to create icon during runtime? Pin
Hamid_RT20-Oct-06 2:34
Hamid_RT20-Oct-06 2:34 

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.