W
Woody
I try to open a file that is opened and used by win32service for
logging purposes in c#
The following code line
StreamReader sr = new StreamReader(filename);
gets an exception:
The process cannot access the file 'XX' because it is being used by
another process.
I can open the file using notepad or I can use C++ using the following
code:
FILE *f = fopen(filename, "r");
Can someone tell me what I'm doing wrong.
Thanks
logging purposes in c#
The following code line
StreamReader sr = new StreamReader(filename);
gets an exception:
The process cannot access the file 'XX' because it is being used by
another process.
I can open the file using notepad or I can use C++ using the following
code:
FILE *f = fopen(filename, "r");
Can someone tell me what I'm doing wrong.
Thanks