PDA

View Full Version : Problem with NetRemote.GetPersistentVariable



VSDomotics
April 7th, 2014, 08:49 AM
I am not sure if this forum is still watched but I'll give it a try.

Without a reason on one PC the NetRemote.GetPersistentVariable command does not work anymore.
The registry-value is not read anymore.

I tried first writing 123 to 'Test' and then reading it
I use this code


NetRemote.SetPersistentVariable("Test",123)
print(NetRemote.GetPersistentVariable("Test"))



The test registry is written nice. But reading gives 'nil'.


Sysinternals Registry Monitor says

53.38663483 NetRemote.exe:5756 OpenKey \SOFTWARE\Promixis\NetRemote\PersistentVariables PATH SYNTAX BAD
53.38672638 NetRemote.exe:5756 CreateKey HKCU\SOFTWARE\Promixis\NetRemote\PersistentVariabl es SUCCESS Access: 0x2000000
53.38795090 NetRemote.exe:5756 SetValue HKCU\SOFTWARE\Promixis\NetRemote\PersistentVariabl es\Test SUCCESS "123"
53.38798904 NetRemote.exe:5756 CloseKey HKCU\SOFTWARE\Promixis\NetRemote\PersistentVariabl es SUCCESS
102.00843811 NetRemote.exe:5756 OpenKey \SOFTWARE\Promixis\NetRemote\PersistentVariables PATH SYNTAX BAD
102.00851440 NetRemote.exe:5756 CreateKey HKCU\SOFTWARE\Promixis\NetRemote\PersistentVariabl es SUCCESS Access: 0x2000000
102.00857544 NetRemote.exe:5756 CloseKey HKCU\SOFTWARE\Promixis\NetRemote\PersistentVariabl es SUCCESS




I tried reinstalling, disabling viruscheck etc., but nothing helps.

The machine is running Windows XP Pro SP# with latest patches.

Who has an idea?