Archived

This topic is now archived and is closed to further replies.

Adding keys etc to registry??

This topic is 5977 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites