On Sat, May 26, 2001 at 03:16:29PM +1000, Mark Hammond wrote:
> _com_interfaces_ is a list - you can name all the interfaces you want to
> support.
> 
> Note that in the general case these must all derive from IDispatch.  You can
> use the new "universal" feature to support non IDispatch interfaces defined
> in a type library - see the win32com README for more information.
> 
I tryed to solve my problem but I didn't find what i need (even in the book
"programming on win32")

my attempt is to build a python com server with the
IDTExtensibility2 com interface (which is implemented by the 
Office addin)

i tried something like

IID_Ext2 = pythoncom.MakeIID('{xx-xx-xx-xx-xx}') # iid for interface found in the 
registry...

then i added IID_Ext2 to the _com_interface_ list...
and oblviously i implemented the needed function in the com server...

I'm guessing I miss something...

franz
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to