COM Problems

Toby Dickenson mbel44 at dial.pipex.net
Thu Mar 2 15:17:39 CET 2000


"Neil Hodgson" <neilh at hare.net.au> wrote:

>> the IBar interface is registered just fine, it
>> shows up in the OLE Viewer, etc. what does this
>> mean?
>
>   Python COM needs some Python COM specific code (the interface object
>mentioned) to be able to use an interface. It does not have this for your
>interface.

Or, if you have created a dual interface, the standard IDispatch
interface object will work too (with a small, possibly neglible,
performance penalty compared to a custom interface object). try....

bar = unk.QueryInterface(Foo.ITest.CLSID,pythoncom.IID_IDispatch)



Toby Dickenson
tdickenson at geminidataloggers.com



More information about the Python-list mailing list