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

2009-11-05 Thread Celvin
ng story short, anyone knows a clean way to access my application instance in the event_handler class? Any help would be _really_ appreciated. Regards, Celvin ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] win32com: Connecting event class after object creation

2009-11-03 Thread Celvin
ect() # here i would like another_event_class to handle events of new_obj Do I have to use new_obj._oleobj_'s QueryInterface to obtain an interface pointer to IID_IConnectionPointContainer and attach the event handler myself, or is there any other, more comfortable way using win32com? Any po