COM component implementing custom interfaces
Mark Hammond
mhammond at skippinet.com.au
Wed Jul 3 19:22:20 EDT 2002
Daniel Piñol Laserna wrote:
> I tried to write a simple COM component with the code below.
> I'm able to correctly instantiate from VB (createinstance), but when
> trying to cast it to interface ICapeUnitEdit (QueryInterface( , it
> always fails.
>
> any idea?
You need to check out the win32com\servers\test_pycomtest.py - this
shows how to implement non IDispatch based interfaces.
Mark.
More information about the Python-list
mailing list