T
Tim Royal
I have a situation where I have an application, written by another party in
C++, that logs specific information to a log file. I am trying to open and
read this file in C# while the application is running.
The problem is I'm getting a sharing violation when attempting to open the
file. I recall that there was a flag or setting that could be used to open
files even when they're in use by another application, but I may be
mistaken.
Does anyone know of such a flag (I didn't see one in the documentation)? Or
does anyone know of a more preferred manner with which to accomplish this?
Thanks for any insight.
Tim
C++, that logs specific information to a log file. I am trying to open and
read this file in C# while the application is running.
The problem is I'm getting a sharing violation when attempting to open the
file. I recall that there was a flag or setting that could be used to open
files even when they're in use by another application, but I may be
mistaken.
Does anyone know of such a flag (I didn't see one in the documentation)? Or
does anyone know of a more preferred manner with which to accomplish this?
Thanks for any insight.
Tim