I have a C++ program which connects to an Access database via OBDC System DSN connection. That DSN is a path to the MDB in the ProgramData folder. When User A runs the app, it copies that MDB file to their AppData\Local folder and any updates to the MDB the app makes, it does to the one in their AppData folder. This is no good because if User B runs the app I want them to see the changes that User A made to the MDB.
1) Is there a way to force it to NOT copy the MDB to their AppData folder and instead just use the one in ProgramData?
2) Am I doing this correctly? Should I be putting the MDB in a different location other than ProgramData where it will be properly shared?
3) Do I need to have my app on start up compare timestamps for the MDB? On start up I could have it pull from ProgramData and when it closes I could have it write back to ProgramData? This seems like a hack and I dont even know if permissions would be an issue