On Thu, 2006-09-28 at 07:01 -0600, Vitaliy Margolen wrote:
Paul Vriens wrote:
Hi,
I was browsing some code and found that we have several places where we made our own implementation of a recursive delete of registry keys/value.
See winecfg.
Vitaliy.
Do you mean winecfg has it's implementation, or winecfg has the solution?
I had another look, apparently shlwapi has SHDeleteKey[A|W]. It does the same thing.
I'll have a few hours tomorrow and will have a look. The cleanest solution for now seems to create RegDeleteTree[A|W] in advapi32 and use that wherever possible (unless we find that it forwards to shlwapi). Most DLL's already import advapi32.
Cheers,
Paul.