Re: [python-win32] More win32com woes: Wrapping COM objects

2009-11-09 Thread Mark Hammond
On 6/11/2009 11:09 AM, Celvin wrote: ... class application(object): def __init__(self): self.__com_obj = DispatchWithEvents("{GUID}", event_handler) self.__objects = [] def register(self, obj): self.__objects.append(obj) Basically, I'm trying to manage a lis

[python-win32] More win32com woes: Wrapping COM objects

2009-11-05 Thread Celvin
Hi, while my recent problem got solved due to Mark being of great help, interacting with COM from Python seems to bring up a few problems I hadn't thought about at first. This is what is taxing my brain at the moment: I would like to wrap a COM object instance with a Python class in order to man