Re: [python-win32] Convert MAPI error code numbers into meaningful strings

2012-03-20 Thread Tim Roberts
Sriram ET. wrote: Are there any functions in pywin32 to convert, say, 0x8004010f into MAPI_E_NOT_FOUND? Do you mean, convert that number into the string MAPI_E_NOT_FOUND? In general, no. Even the C API does not do that, because in C the symbol MAPI_E_NOT_FOUND is just a compile-time alias

[python-win32] Convert MAPI error code numbers into meaningful strings

2012-03-19 Thread Sriram ET.
Are there any functions in pywin32 to convert, say, 0x8004010f into MAPI_E_NOT_FOUND? In general, what is the common / recommended way to deal with MAPI errors in pywin32 code? Cheers Sriram ___ python-win32 mailing list python-win32@python.org