[python-win32] COM error

Niki Spahiev niki at vintech.bg
Thu Oct 21 18:41:38 CEST 2004


Florian Reiser wrote:

> Hi,
> 
> I use COM to access a self programmed exe file.
> When I execute it by hand everything is fine.
> But when Zope executes it, then I sometimes get the
> error message:
> com_error: (-2147352567, 'Ausnahmefehler aufgetreten', (0, None, None, None,
> 0, 0), None)
> 
> What does this error message mean?
> Ok, there's something wrong. But has the -2147352567 any special meaning?

 >>> hex(-2147352567)
'0x80020009'

according to PlatformSDK

//
// MessageId: DISP_E_EXCEPTION
//
// MessageText:
//
//  Exception occurred.
//
#define DISP_E_EXCEPTION                 _HRESULT_TYPEDEF_(0x80020009L)

your COM server signaled exception to COM

HTH
Niki Spahiev



More information about the Python-win32 mailing list