Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

(tye)Re2: Win32::tieRegistry question

by tye (Sage)
on Jul 23, 2001 at 10:04 UTC ( #98920=note: print w/replies, xml ) Need Help??


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")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://98920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2022-09-26 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (116 votes). Check out past polls.

    Notices?