[Zope] COM-Error: CoInitalize was not called

Florian Reiser florian.reiser@ra-bc.de
Sun, 26 Jan 2003 14:13:03 +0100


Hello guys,

I am programming a custom COM-Method. However after I call
win32com.client.Dispatch('NameOf.ComObject') a COM-Error raises
containing "CoInitalize was not called". I am working with Zope 2.6.0 on
W2K and have the win32com, the win32comext and the Pythonwin modules
installed in $ZOPEHOME\bin\lib. I have copied the modules from a working
ActivePython installation. If I execute the method from the Pythonwin
command line, everything works fine.

Whats wrong?

Regards
RA Unternehmensberatung
Florian Reiser

Tel: +49 (0)7351 37 27 57
Fax: +49 (0)7351 37 27 59
E-Mail: florian.reiser@ra-bc.de