I wrote a program in C ++. Runs accordingly from the .exe file. It is clear that the program leaves traces in the registry.
The question is: how to make so that when you close the program registration records about this program were deleted from the registry?
That is, as I understand it, you must first somehow determine which records it has made, and then delete them. Sorry, I am grateful to work with the registry ALL a newbie.