Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: (tye)Re: Win32::tieRegistry question

by aquacade (Scribe)
on Jul 23, 2001 at 06:20 UTC ( [id://98898]=note: print w/replies, xml ) Need Help??


in reply to (tye)Re: Win32::tieRegistry question
in thread Win32::tieRegistry question

Thank you Brother Tye for an excellent exposition of the root problem! I only received this error when exiting each program. I do have a follow-on question for you:

Do I now have to manually delete entries from my registry (using regedit) to clean it up? Your last sentence indicates "the hive will remain loaded in the Registry?" Thanks!

  • Comment on Re: (tye)Re: Win32::tieRegistry question

Replies are listed 'Best First'.
(tye)Re2: Win32::tieRegistry question
by tye (Sage) on Jul 23, 2001 at 10:04 UTC

    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://98898]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-24 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found