I have a windows .exe that reads a file every now and again (a fairly plain text file containing some data).
The program simply uses fopen, fread, fclose API's.
However, no matter how many times I edit said file, the program still reads the old data.
Even if I delete the file, the program still reads the old data.
This leads me to believe there's some kind of caching going on somewhere. I have tried to rule out the harddrive/OS by running every possible sync/flush command I can find on google, so that leaves WINE.
How can I disable this behaviour so my program can open a file and read its latest data?
Windows app not seeing file changes, cache issue?
-
- Newbie
- Posts: 1
- Joined: Wed Feb 10, 2021 8:23 pm