Thread: Registry plugin
View Single Post
Old 29th December 2016, 15:10   #217
Junior Member
Join Date: Dec 2016
Posts: 3
Registry plugin v4.1 reading past 3rd subkey.

This beginner doesn't know what I'm possibly doing wrong, but I cannot get the KeyExists to recognize a key past the third sub key? or read a value past a third key. Can anyone help me? I'm modifying the RegistryTest example from the example to test.

${registry::KeyExists} "HKEY_LOCAL_MACHINE\SOFTWARE\Pervasive Software\Products\Pervasive.SQL NT Server" $R0
$RO = -1

${registry::KeyExists} "HKEY_LOCAL_MACHINE\SOFTWARE\Pervasive Software\Products" $R0
$RO = 0

${registry::KeyExists} "HKEY_LOCAL_MACHINE\SOFTWARE\Pervasive Software\Btrieve Requester\Version 11\Settings" $R0
$RO = -1

I also get no value info past the third subkey reg_sz value.
${registry::Read} "HKEY_LOCAL_MACHINE\SOFTWARE\Pervasive Software\Products\Pervasive.SQL NT Server\InstallInfo" "ProductVersion" $R0 $R1
MessageBox MB_OK 'registry::Read$\n$\n\
$$R0 "string" =[$R0]$\n\
$$R1 "type" =[$R1]$\n'
ConnivingCritic is offline   Reply With Quote