i create an registry key by program ....In this path .. computer/HKEY_CURRENT_USER/Software/test but i cannot delete that key by manually and programming ..while deleting through manually ,In reg message "cannot delete ........key: Error while deleting this key " help me to resolve my problem..
+1
A:
It's hard to be sure from your question, but if you try to delete a key that has subkeys, it will fail. Check into DeleteSubKeyTree.
Factor Mystic
2009-08-24 15:41:25
...and in native code, you should use RegDeleteTree to delete a key that has subkeys.
Reuben
2009-09-04 05:36:20