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.

  • @ Kitty2312, If you are given an exhaustive answer, mark it as correct (click on the check mark next to the selected answer). - Vitalina

2 answers 2

For example, it’s not clear to me how she suddenly “leaves traces in the registry”. If you make her write traces somewhere, you need to know where. If you use third-party packages that you are too lazy to understand, but they write to the registry, use utilities like RegMon, which will track all of your program's applications to the registry in real time.