FormatMessage or Win32Exception.message?

  • Thread starter Thread starter Udo Killermann
  • Start date Start date
U

Udo Killermann

Is it only on my device that the Win32Exception.message property is not
populated with the message text of the last error available through
GetLastWin32Error()? I have tested this behaviour in the emulator as well,
all I get is "Win32Exception" regardless of the error actually signaled by
the unmanaged code. In the full framework I can access the last error
message using the property.

Did anyone succeed in calling FormatMessage on Windows CE through managed
code? If so, please drop me some code, as my code doesn't work as expected.

All I want is having a way to retrieve the WM built in error message (as a
string) if I pass the error code (as an int).

regards ukiller
 
Sergey,

thanks for your hint - I've been working with SDF 1.2 for a while now, but
didn't see that they solved my problem already.

ukiller
 
Back
Top