Alexis Ellis wrote:
> Thank you for your help. I was obviously headed down the wrong path.
> As per your suggestion, I am now using comtypes to create a com server.
You mean Pythoncom, right?
>> python myserver.py /regserver
> I get the following error:
>
> Traceback (most recent call last):
>
[aelli...@syr.edu]
Sent: Friday, May 04, 2012 11:13 AM
To: Tim Roberts; Python-Win32 List
Subject: Re: [python-win32] Accessing methods from python-based COM DLL
generated using py2exe
As a note, I have read that I should be using ctypes instead of calldll, but am
not sure how to implement that
[aelli...@syr.edu]
Sent: Friday, May 04, 2012 11:07 AM
To: Tim Roberts; Python-Win32 List
Subject: Re: [python-win32] Accessing methods from python-based COM DLL
generated using py2exe
Tim,
Thank you for your help. I was obviously headed down the wrong path.
As per your suggestion, I am now using
register
win32com.server.register.UseCommandLine(MyObjectImpl)
if __name__ == "__main__":
register()
//
From: python-win32-bounces+aellis02=syr@python.org
[python-win32-bounces+aellis02=syr@python.org] on behalf of Tim Roberts
[t...@probo.com]
Sent: Thursday
Ellis, Alexis -FS wrote:
>
>
>
> am trying to generate a DLL from a python script that can be accessed
> from a variety other programming platforms.
>
> I am generating the python-based COM DLL using a distutils setup
> script that is called using py2exe.
>
> The DLL is successfully generated a
Hi All,
I am trying to generate a DLL from a python script that can be accessed from a
variety other programming platforms.
I am generating the python-based COM DLL using a distutils setup script that is
called using py2exe.
The DLL is successfully generated and I can register it using regsv