Amaury Forgeot d'Arc d6179e120d On Windows, when import fails to load a dll module, the message says
"error code 193" instead of a more informative text.

It turns out that FormatMessage needs additional parameters for some error codes.
For example: 193 means "%1 is not a valid Win32 application".
Since it is impossible to know which parameter to pass, we use
FORMAT_MESSAGE_IGNORE_INSERTS to get the raw message, which is still better
than the number.

Also use the Unicode version of the API, to deal with accented letters.
2008-01-03 23:42:13 +00:00
..
2007-08-25 07:41:59 +00:00
2007-10-15 16:08:26 +00:00
2002-12-30 22:08:05 +00:00
2007-12-21 07:31:17 +00:00
2005-07-09 15:26:33 +00:00
2007-08-17 12:57:41 +00:00