Under Windows XP I stored values ( server path, etc ) in the registry using the following:
To read the value:
oReg := TReg32():Create( HKEY_LOCAL_MACHINE, "SOFTWARE\Masterlink\Setup" )
cPath := oReg:Get( "Path", cPath )
Or to set the value if none was found:
oReg:Set( "Path", cPath )
Trying to run the program in Vista, if it is not found, the call is to cGetDir32( ) to display the directory and select the path.
On my first try, 1) the path was not in the registry so it wasn't found, 2) there was no popup for cGetDir32( ), and no value was written to the registry.
Whats different in Vista ?
Thanks.