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.
With that said, another alternatives come to my mind besides INI is writing to database. If you don’t need it to persist as the app user moves from machine to machine, you could just write it to lightweight DB like SQLite that is bundled with your app. Especially in mobile app dev world, SQLite is used a lot to store data on the client in extremely lightweight and seamless approach.