[python-win32] COM Events and Type libraries

Shane Holloway (IEEE) shane.holloway at ieee.org
Mon Jun 6 19:50:56 CEST 2005


I've been having a devil of a time trying to get events working in win32com with an attached Type library.  It seems like I'm missing something obvious, but I haven't been able to figure it out.  So I'd like to ask your collective wisdom!

My code is at: http://www.teuton.org/~sholloway/pyTestEvents.zip

IDL compiles into a tlb just fine, and I am able to register the COM server.  However, when I try to run pyEventsTestUser.py, I keep getting server.policy errors creating the control.  (Tracebacks attached)

Thank you very much for any time you spend on this!
-Shane Holloway
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pyEventsTestUser.py.out
Url: http://mail.python.org/pipermail/python-win32/attachments/20050606/8ebae9bc/pyEventsTestUser.py.ksh


More information about the Python-win32 mailing list