[python-win32] About COM
Tim Roberts
timr at probo.com
Tue Jan 18 19:34:26 CET 2011
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"?
> 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.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list