PDA

View Full Version : Registry and MFC/C++



Somurai
01-10-2000, 04:00 PM
I need to find certain occurrences of a string in the registry.

Is there a command/function that will search the Windows registries using MFC/C++?

Example:

I have a string, ‘Ascom_” – I need a function that will search for all occurrences of this. And delete them all.

Or.

If someone else has a better idea of getting rid of an undefined number of registries entry that contain a similar string with just a one click of the mouse.

Thank you.

S.

cyh
01-15-2000, 06:16 PM
I'm not sure if MFC/C++ has built-in Registry API wrapper, but I'm sure you can use WinAPIs that are dealing with registry. Check WinAPI document or help file.

It's not hard if you know any Registry wrapper such as the one from Delphi. Good luck!