J
José Joye
I have made a NT Service in c# and I need to use some features provided in a
legacy C library (it can be interfaced with callbacks and normal calls). So
far, no problem, I used p/Invoke and all is fine. However, this library
writes to stdOut/stdError. :-((
Is there a way at service startup (or later) to redirect stdOut/stdError to
files so as to prevent my Service to crash?
Thanks!
José
legacy C library (it can be interfaced with callbacks and normal calls). So
far, no problem, I used p/Invoke and all is fine. However, this library
writes to stdOut/stdError. :-((
Is there a way at service startup (or later) to redirect stdOut/stdError to
files so as to prevent my Service to crash?
Thanks!
José