[Win32utils-devel] win32ole and sane error messages

Heesob Park phasis at gmail.com
Thu Aug 29 01:06:37 UTC 2013


Hi,

2013/8/29 Daniel Berger <djberg96 at gmail.com>:
> Is there a trick to getting a decent error message from a
> WIN32OLERuntimeError, or will I have to parse the number out and run it
> through FormatMessage myself?
>
I'm not sure what is the number you want to parse.
If it is HRESULT error code, there is ole_hresult2msg function in win32ole.c.

Regards,
Park Heesob


More information about the win32utils-devel mailing list