I have an application that reads a set of data files and performs some model computations. The program does not need to modify the data files themselves, so I\'m currently
If you can change the fopen routine then try to replace fopen calls with _fsopen, for shared reading/writing. _fsopen is mscrt-specific.
If you can use CreateFile, and don't want to re-write all the legacy code for read/write, you can also try associating a FILE * with a winapi file handle. Use _open_osfhandle to get a file descriptor from a file handle returned by CreateFile, then use _fdopen to get a FILE * from that file descriptor.