Hello,
I have a COM-server application which I want to interact with from an
python-application.
I defined the idl file myself and compiled into a typelib.
When I want to load the typelib (with GetModule('mytlb.tlb')), I get an
exception:
"Ignoring interface myInterface which has no base interface"
The interface 'myInterface' does indeed not extend IUnknown or any other
interface, because it makes no sense in this context.
To overcome this, I modifies the 'myInterface' so it has the IUnknown-interface
as base, and implemented the inherited methods (as empty stubs)
So my question is: why can't I have custom-interfaces (that don't inherit
IUnknown) in my library if I want to? Why is this imposed by tlbparser.py?
Maybe there is a good reason, but I fail to see it.
Can someone please enlighten me? Or is this test (tlbparser.py -line 248)
superfluous?
Thanks!
Thomas
This message is subject to the following terms and conditions: MAIL
DISCLAIMER<http://www.barco.com/en/maildisclaimer>
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users