[python-win32] About COM

Somnath Naskar somnathnaskar7 at gmail.com
Wed Jan 19 06:24:01 CET 2011


On Wed, Jan 19, 2011 at 12:04 AM, Tim Roberts <timr at probo.com> wrote:

> Somnath Naskar wrote:
> > Thank you for your response.Thank you very much.I am new in the industry.
> > I tried what you told as first option but it is giving following error...
> >
> > >>> ses =
> > Dispatch("Lotus.NoteSession",clsctx=pythoncom.CLSCTX_LOCAL_SERVER)
> > ...
> > pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)
> >
>
> I think you misspelled it.  Didn't you say it was "Lotus.NotesSession"?
>


Yea I misspelled it but after correction I got the first error like Class
not register.

>
> > The Second option you told is like to create my own 32 bit process to
> > communicate with Lotus, but I am afraid that I have no idea about how
> > to create q 32 bit process and also how to communicate to Lotus using
> > that.
> > Please give me some code example and idea regarding that.
>
> You might consider forgetting about 64-bit Python and install 32-bit
> Python instead, especially if this interface is important for you.  The
> 32-bit Python works perfectly well on 64-bit systems.
>


Yea I tried 32 bit python also and it was telling that something is not a
valid win32 program like that.

Thanks
Somnath Naskar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20110119/62338c95/attachment.html>


More information about the python-win32 mailing list