• Advertisement
Sign in to follow this  

C++ code to add registry key

This topic is 4278 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

hey guys, how can i write a regestriky key and value from within my code, i dont mind a link where i can just copy paste similar code with minor modifications, im guessing im not the first person to do this.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Of course, you are not the first person to do this. Use the RegCreateKeyEx API to create a Registry key, and RegSetValueEx to set a value.

I don't mind you looking up these functions and doing a little of the work yourself. ;)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement