> However, in our particular applications several different type
> libraries will
> import the same interface (and hence IID), which means the look into
> GetClassForCLSID will fail since it is really passed an IID which is
> defined in multiple different type libraries.

Eeek.  Have you actually imported the other library, or simply copied the
interface definition.  I'd be surprised to find the same interface defined
in 2 typelibs (but not surprised to see cross-typelib references).

> This appears to be a bug relating to thinking the line disp_clsid =
> ti.GetTypeAttr()[0] will return a CLSID, when it really returns the IID
> of the interface.

Any suggestions how we should fix this?  I'm flat out spending the little
Python time I do have on py3k at the moment...

Cheers,

Mark

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to