Skip to Content
0
Former Member
May 28, 2013 at 04:50 PM

RegistryGet of TMP environment in Windows 7 returns -1

102 Views

PB 11.5 on Win7 64bit PC.

I am not able to get the TEMP environment variable on windows 7 in Powerbuilder 11.5.1 build 4675.

int li

string ls_temp_dir

li = RegistryGet("HKEY_CURRENT_USER\Environment\TEMP", "", RegString!, ls_temp_dir)

li returns -1