Click here to Skip to main content
15,892,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
Rajesh R Subramanian5-Mar-08 23:12
professionalRajesh R Subramanian5-Mar-08 23:12 
GeneralRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
vicky000005-Mar-08 23:28
vicky000005-Mar-08 23:28 
QuestionRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
Rajesh R Subramanian5-Mar-08 23:34
professionalRajesh R Subramanian5-Mar-08 23:34 
GeneralRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
vicky000006-Mar-08 0:28
vicky000006-Mar-08 0:28 
AnswerRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
Rajesh R Subramanian6-Mar-08 0:39
professionalRajesh R Subramanian6-Mar-08 0:39 
GeneralRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
Mark Salsbery6-Mar-08 5:34
Mark Salsbery6-Mar-08 5:34 
GeneralRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
vicky000006-Mar-08 20:54
vicky000006-Mar-08 20:54 
GeneralRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
Mark Salsbery6-Mar-08 21:10
Mark Salsbery6-Mar-08 21:10 
Writing to HKEY_LOCAL_MACHINE requires the code to run with administrator rights/elevated privileges.

Does it work if you run your app as an administrator?

Why do you need to write to HKEY_LOCAL_MACHINE?  That should generally only be done at install time
(running elevated).

If you have common application data that needs to be shared between users, then you should store that at the
recommended application shared data folder, not in the registry.

Unless, of course, all users of your app have no problem running the app as an administrator.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
vicky000006-Mar-08 23:37
vicky000006-Mar-08 23:37 
GeneralRe: I port my application in vc++ 2005 to vc++ 2008 -registry entry code could not work properly. Pin
Mark Salsbery7-Mar-08 5:45
Mark Salsbery7-Mar-08 5:45 
Generalcreate a graph Pin
Chandrasekharan P5-Mar-08 22:53
Chandrasekharan P5-Mar-08 22:53 
AnswerRe: create a graph Pin
Rajesh R Subramanian5-Mar-08 22:58
professionalRajesh R Subramanian5-Mar-08 22:58 
GeneralRe: create a graph Pin
toxcct5-Mar-08 23:56
toxcct5-Mar-08 23:56 
GeneralRe: create a graph Pin
Chandrasekharan P6-Mar-08 0:00
Chandrasekharan P6-Mar-08 0:00 
GeneralRe: create a graph Pin
toxcct6-Mar-08 0:02
toxcct6-Mar-08 0:02 
GeneralRe: create a graph Pin
Chandrasekharan P6-Mar-08 0:38
Chandrasekharan P6-Mar-08 0:38 
GeneralRe: create a graph Pin
toxcct6-Mar-08 0:43
toxcct6-Mar-08 0:43 
GeneralRe: create a graph Pin
brahmakurrereddy6-Mar-08 18:41
brahmakurrereddy6-Mar-08 18:41 
GeneralRe: create a graph Pin
toxcct6-Mar-08 22:03
toxcct6-Mar-08 22:03 
Questionhow to take Active window file as ainput file in mfc Pin
mastp5-Mar-08 22:33
mastp5-Mar-08 22:33 
Generalusing CColorDialog Pin
Gita.Bairavi5-Mar-08 22:22
Gita.Bairavi5-Mar-08 22:22 
QuestionRe: using CColorDialog Pin
Rajkumar R5-Mar-08 22:47
Rajkumar R5-Mar-08 22:47 
Generaltemplate function instantiation Pin
George_George5-Mar-08 22:22
George_George5-Mar-08 22:22 
GeneralRe: template function instantiation Pin
CPallini5-Mar-08 22:35
mveCPallini5-Mar-08 22:35 
GeneralRe: template function instantiation Pin
George_George5-Mar-08 22:51
George_George5-Mar-08 22:51 

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.