Hi all!
In an app I have on WIN7, I call the following to update a datetime stamp in an INI file and it works fine.
SetProfileString('monitor_ini', "computername", "lastrun", ls_str_datetime)
The INI file is located in the same directory as EXE
C:\Program Files\ACME, Inc\ACME Monitor\monitor.ini
On WIN10, when I call the SetProfileString, the INI that gets updated is not the one directly above. Instead it updates the one in the following location:
C:\Users\STATUS\AppData\Local\VirtualStore\Program Files\ACME, Inc\ACME Monitor\monitor.ini
I don't know why this version of the file is being created/updated instead but it is causing issues with other apps that read the datetime stamp in C:\Program Files\ACME, Inc\ACME Monitor\monitor.ini.
Any thoughts and/or suggestions would be greatly appreciated!!!!
Thanks, Dave