[Zope] COMObject How-To

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 11 Nov 1999 14:34:11 -0000


You need to patch Zope 2.0 to initialize COM. I posted
http://lists.zope.org/pipermail/zope-dev/1999-August/001389.html

After that COMObject may work, but you may get better mileage out of
external methods.

Hope this helps,



> -----Original Message-----
> From: Chui Tey [mailto:teyc@start.com.au]
> Sent: 09 November 1999 04:16
> To: zope@zope.org
> Subject: [Zope] COMObject How-To
> 
> 
> Has anyone had any luck with using COMObject with Zope 2.0?
> 
> I installed Zope, then win32all.
> Next I changed the start.bat to
>   "C:\Program Files\Python\python.exe" ...
> Trying connect to the COM object gives this:
> 
> Error Type: com_error
> Error Value: (-2147221008, 'CoInitialize has not been called.', None,
> None)
>