G
Guest
Hi,
We are tyring to build a DLL which will write the log data to a text file.
Multiple executables should use this dll to write data to same text file. We
are using a synchronized method (using TextWriter.Synchronized) for writing
data to the text file. The class in the DLL (LogManagement) is implemented
using the Singleton pattern.
My problem is that when I try to write data from more that one executables
(and services) it gives me error and does not allow write to the file.
Any help is appreciated.
Thanks
Rajesh
http://www.slcltd.com
We are tyring to build a DLL which will write the log data to a text file.
Multiple executables should use this dll to write data to same text file. We
are using a synchronized method (using TextWriter.Synchronized) for writing
data to the text file. The class in the DLL (LogManagement) is implemented
using the Singleton pattern.
My problem is that when I try to write data from more that one executables
(and services) it gives me error and does not allow write to the file.
Any help is appreciated.
Thanks
Rajesh
http://www.slcltd.com