win32com support

Crawley crawley.storm.nonononoemail at ntlworld.com
Sat Jan 31 23:31:57 CET 2004


Mark Hammond <mhammond at skippinet.com.au> wrote in
news:bvh9f0$1gej$1 at arachne.labyrinth.net.au: 

> Generally, you can do a QueryInterface for the object.  However, if
> the object does not support IDispatch, you will haver trouble - we
> don't support arbitrary interfaces when calling them, only
> implementing them. 
> 
> ob = ob._obj_.QueryInterface(
> 

I take it the chances of this working are slim to none ?

> 
> The GUID must be for a type library.  If you run "makepy.py -i", then 
> you will get a list of all valid typelibs you can use, and the params 
> for it.
> 

Bum!

Perhaps I should look at implementing the actual addin in C++ and then 
embed python into it so that most the work can be done by that.  

Thanks for your help anyway

Rich



More information about the Python-list mailing list