- David Vasconcelos
- PowerBuilder
- Friday, 27 August 2021 04:15 PM UTC
The RetistrySet function has just started to fail. The app was writing to HKEY_LOCAL_MACHINE (and windows was redirecting it to the VirtualStore) but for some reason it is now failing, and not for everyone, so far just a few. I also noticed that on several machines this key no longer exists, I had it on my machine then suddenly after the latest windows update it was gone, not sure why. It works for me due to I am admin on my PC, so it's tough trying to find a solution.
Next steps:
Try to write directly to the virtual store.
Use windows API calls vs PB functions to write to the registry.
If anyone has any ideas why it suddenly is failing let me know or if you have a solution...what's strange is that it's not happening to everyone.
PB: 2017r3, 32bit app.
Thanks
Dave V.
***Follow-up
Since we are locked down and can't change the registry we will be using an ini file. So no easy/real resolution to this issue.
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.