[python-win32] Regarding COM server and exe

Tejovathi P tejovathi.p at gmail.com
Tue Jan 8 11:26:52 CET 2008


Hi All,

I have a Python COM server. I need to deploy it on various sytems. When I
run the COM server from
python its showing an output " Registered : sample.lib"

If I try to use the COM obj from a VB client like:

obj = CreateObject("sample.lib")

Its working fine without any errors

Now I am trying to convert this COM server to an exe through py2exe and
after I run the exe, I am
getting the same output " Registered : sample.lib"

But If I try to use the COM obj from a VB client like

obj = CreateObject("sample.lib")

A console pops up saying " Registered : sample.lib" and VB application hangs
there.
Its throwing a VB error that "ActiveX object cannot be created......etc etc"

Any suggestions please.......

Regards,
Tejovathi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080108/38a2fbae/attachment.htm 


More information about the python-win32 mailing list