Dear,After a personal request we were interesting by the above problem.
The result after a writevalue operation with reg_none should be
code:
REGEDIT4 [HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl]
"ShutdownDialog"=hex(0):00,00,00,00
"DeskbandDialog"=hex(0):00,00,00,00
but it will be
code:
REGEDIT4 [HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl]
"ShutdownDialog"=hex(0):00,00,00,00
"DeskbandDialog"=hex(0): ; <+++ (zero-length binary value)
The result of writevalue operation with reg_binary will be, but it
isn't correct.
code:
REGEDIT4 ; <+++ reg_binary[HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl]
"ShutdownDialog"=hex(0):00,00,00,00
"DeskbandDialog"=hex:00,00,00,00
Script for checking it:
code:
? ReadType ("HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl", "DeskbandDialog")
ReadValue("HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl", "DeskbandDialog")
? ReadType ("HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl", "ShutdownDialog")
ReadValue("HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl", "ShutdownDialog")
?
IF (WriteValue("HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl", "DeskbandDialog", "00000000", "REG_NONE") <> 0)
? @error+" "+@serror
ENDIF
?
? ReadType ("HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl", "DeskbandDialog")
ReadValue("HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl", "DeskbandDialog")
? ReadType ("HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl", "ShutdownDialog")
ReadValue("HKEY_CURRENT_USER\Software\Zone Labs\ZoneAlarm\DialogControl", "ShutdownDialog")
Have anyone an idea to do it with usage of kixtart only. REGEDIT may
not be used.
The results are the same for kixtart 3.63 & kixtart 4.00 beta 2a.
Greetings.
------------------
Site map: