views:

110

answers:

1

How I can delete in Windows c++ registry keys with subkeys? RegDeleteKey() doesn't work.

+4  A: 

SHDeleteKey can be used to delete a key and all of its sub keys.

Michael
On Vista and above, use RegDeleteTree()
Arnold Spence