Thread: Registry plugin
View Single Post
Old 21st February 2006, 09:43   #43
Brummelchen
Major Dude
 
Join Date: May 2003
Posts: 681
Thank you much top da man ^^

erks, sorry - nearly.

when i empty that key manually this remains

"PendingFileRenameOperations"=hex(7):00

registry::read shows me a blank value.

maybe you can fix this too ?


some nasty code to avoid it:
PHP Code:
  ;pending operations ?
  
ClearErrors
    
${registry::Read"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager" "PendingFileRenameOperations" $R9 $R8
  StrCmp $R9 
"" no_pending
    StrLen $R8 $R9
    StrCmp $R8 1 no_pending
    
${registry::Unload}
    ;
your action here
      Quit
  no_pending
:
    ${
registry::Unload

Greets, Brummelchen

Last edited by Brummelchen; 21st February 2006 at 10:06.
Brummelchen is offline   Reply With Quote