in reply to Re: (tye)Re: Win32::tieRegistry question
in thread Win32::tieRegistry question
No. You can get the error once for each Registry key object that you (or anyone) stored in a global variable. But you can only run into the bug if you used the Load() in such a way that you expected the module to automatically unload once you close the key (and also in such a way that the error could be triggered for that key or some key within the hive you Load()ed). Since you probably didn't Load() any keys at all, then there would be no chance of leaving any keys loaded.
If you'd left keys loaded, it is easy to notice when you run regedt32 (there'd be some unexpected keys with names that include "TieRegistry" and some sequence number hanging out). Other than the clutter, leaving the keys loaded does little harm (it leaves the hive file locked) and the "problem" goes away when you reboot.
- tye (but my friends call me "Tye")
|
|---|