04-22-2012, 08:58 AM
Add this:
using System.IO;
I dont know what start is supposed to mean.
@HateMe there are other things that make the code simpler in C++.
Try to use FormatMessage to get a string for the error message, instead of writing manually write your error. Or the alternative _com_error::ErrorMessage().

