Re: [python-win32] Accessing methods from python-based COM DLL generated using py2exe

2012-05-04 Thread Alexis Ellis
Tim, 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. I have generated a tlb and am trying to use comtypes.client.GetModule to generate a wrapper and register the COM (see myserver.py below). However,

Re: [python-win32] Accessing methods from python-based COM DLL generated using py2exe

2012-05-04 Thread Alexis Ellis
As a note, I have read that I should be using ctypes instead of calldll, but am not sure how to implement that change. From: [email protected] [[email protected]] on behalf of Alexis Ellis [ae

Re: [python-win32] Accessing methods from python-based COM DLL generated using py2exe

2012-05-04 Thread Alexis Ellis
Ignore my previous question. I replaced calldll with ctypes in the windll.py and everything now seems to be working. From: [email protected] [[email protected]] on behalf of Alexis Ellis [ae

Re: [python-win32] win32evtlog - Event Log parsing issue

2012-05-04 Thread Tim Keeler
Oh Geesh - I didn't even think about looking at the .chm help file. I was looking at the docs located here - http://docs.activestate.com/activepython/2.7/pywin32/win32evtlog.html. This is my first time using Python on Windows, so I apologize for the n00b mistake. I'll check out EvtQuery->EvtNext->

Re: [python-win32] Accessing methods from python-based COM DLL generated using py2exe

2012-05-04 Thread Tim Roberts
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): >