"Universal Gateway"

Mark Hammond mhammond at skippinet.com.au
Sun Nov 3 22:02:11 EST 2002


Paul Moore wrote:
> Mark Hammond <mhammond at skippinet.com.au> writes:
> 
> 
>>So it seems there will be 2 universal strategies:
>>* If you want to implement one or 2 interfaces (eg, the Outlook addin,
>>where you only need to implement a handful of interfaces out of the
>>hundreds available) - in this case you stick with the
>>"RegisterInterfaces()" type calls in the existing examples.
>>
>>* You want to implement *all* interfaces in a TLB.  In this case you
>>add a couple of extra annotations to your server class, and magic
>>happens <wink>
> 
> 
> Am I right in reading into this, the fact that the universal gateway
> is only for *implementing* general vtable interfaces (as one poster
> mentioned)? If so, is there a way to *call* an arbitrary interface?
> (Actually, I imagine that this should be possible using calldll plus a
> reasonable amount of arcane pointer arithmetic, but it sounds like it
> could be a bit messy and error prone...)

Correct on both counts.  So between the calldll source and the existing 
universal framework, we should be able to cobble something together that 
is less error prone or messy.

Mark.




More information about the Python-list mailing list