Using Virtual Access
4.00 build 213a (32-bit) WinNT build 1381
http://www.ashmount.com/va
In addition (and this is also undocumented) if you call
WriteProfileString so that the second and third parameter are NULL, the
MFC code will delete all subkeys, i.e.
SetRegistryKey("MyCorp");
WriteProfileString("MyApp", NULL, NULL);
This will delete all subkeys of the
HKEY_CURRENT_USER\Software\MyCorp\MyApp registry entry
Hope that helps
--
Author for Visual C++ Devloper http://www.pinpub.com/vcd/
---
Talk is cheap & lies are expensive....
My wallets fat & so is my head.
---
Will this work in both Win95 and WinNT? If so, I might be willing to risk
using an 'undocumented' call in this case. Thanks!