That worked. Thanks

> -----Original Message-----
> From: Phil Harris [SMTP:[EMAIL PROTECTED]]
> Sent: Freitag, 11. August 2000 14:06
> To:   Steinar Rune Eriksen; [EMAIL PROTECTED]
> Subject:      Re: [Zope] Python + COM (from external method)
> 
> Steinar,
> 
> Did you call pythoncom.CoInitialize()?
> 
> If not you need to.
> 
> hth
> 
> Phil
> [EMAIL PROTECTED]
> 
> 
> ----- Original Message ----- 
> From: "Steinar Rune Eriksen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 11, 2000 12:49 PM
> Subject: [Zope] Python + COM (from external method)
> 
> 
> > How come this fails...
> > ------------------------------------------
> > import win32com.client
> > oOleObj = win32com.client.Dispatch("DSOleFile.PropertyReader")
> > --------------------------------------------------
> > 
> > when run from Zope (within and External Method) when it works from
> Python
> > standalone on the same machine ?
> > 
> > 
> > SRE
> > 
> > 
> > 
> > 
> > 
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> > 
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> > 
> > Admin
> > Orion System AS
> > **********************************************************************
> > 
> > _______________________________________________
> > Zope maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
> 
> _______________________________________________
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

Admin
Orion System AS
**********************************************************************

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to