W
Will Pittenger
I see System.Runtime.InteropServices.Marshal.GetLastWind32Error, but I see
no method to get a string based on that error. Do I need to use the Win32
function FormatMessage? If so, that defeats the purpose of C# having
GetLastWin32Error. Since FormatMessage does so many things besides look up
error messages, it tends to be a bit of a burden even in C++. I hate to
think of what calling it would be like under C#.
no method to get a string based on that error. Do I need to use the Win32
function FormatMessage? If so, that defeats the purpose of C# having
GetLastWin32Error. Since FormatMessage does so many things besides look up
error messages, it tends to be a bit of a burden even in C++. I hate to
think of what calling it would be like under C#.