In my windows application written in C#, I am calling one windows utility...but it is likely to fail the execution of that windows utility execution...How do I log the error of that utility into my C# application?
are you able to use try catch block where you use that utility?
Yes, I can try-catch....
but the problem is that error occurred by windows utility is not being trapped..... and which is right too....as error is not from my application...
e.g. my utility requires network connection, but if the connection is not there - utility will get failed...but My application does not know about that...This is just one possibility of an error...
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.