- Mitch Goldstein
- PowerBuilder
- Thursday, 9 November 2017 05:09 AM UTC
Hello,
I'm struggling to find consistencies across platforms due to registry virtualization. When running through my PB 2017 IDE, the following code works, but when I compile as 32bit or 64bit app, and run the exe, it does not find the product code.
RegistryGet(HKEY_LOCAL_MACHINE\Software\WOW6432Node\Min-U-Script Pro", "Product Code", RegString!, gs_product_code)
Additionally, when I look at the registry, the path looks completely different:
Computer\HKEY_USERS\S-1-5-21-1312213260-3357453489-502601113-1001\Software\Classes\VirtualStore\MACHINE\SOFTWARE\WOW6432Node\Min-U-Script Pro
Please help with a registry strategy which will work across platforms.
TIA,
Mitch
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.