Adding keys etc to registry??
I need my app to add some stuff to the registry (i.e. Directories etc) how can i do this with c++ (im using mfc if that has any relevance). Can anyone give me any hints on how to do this?
I have found some information on this in the msdn (SetRegistryKey()) But im having problems with it and Im really not sure if this is the right thing im looking for.
Thanks for any help
Just my thoughts take them as you will. "People spend too much time thinking about the past, whatever else it is, its gone"-Mel Gibson, Man Without A Face
There''s a bunch of Windows API functions for this, SetRegistryKey sounds like one of them. Alternatively you could make (or have your program make) a .reg file and execute it.
Ok, I''m not really an MFC user, but you can use the regular Win32 functions.
RegCreateKey should do exactly what you want.
RegCreateKey should do exactly what you want.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement