[python-win32] QueryInterface woes

Steven Scott bodoni26@resnet.gatech.edu
Tue, 11 Feb 2003 18:28:29 -0500


On Tuesday 11 February 2003 5:59 pm, you wrote:
> wrapper module is called "Domino" and the object you have is called
> an_item. All you need to do is:
>
> rti = Domino.IRichTextItem(an_item)
> rti.SomeMethodYouCouldNotCallBefore()
>

ok thanks that's a huge help

is this seperate from the first time I ran makepy, for early binding?  
basically, I don't know what to import.  the IRichTextItem wrapper class is 
defined in the file made by makepy in the gen_py directory, but I don't know 
how to import that.....I feel like I've done that before, but it's been over 
a year.

basically the only way I know how to access the COM stuff is by calling 
Dispatch('Lotus.NotesSession') and calling methods on the returned object.


thanks again

-- 
Steven Scott [Bodoni26@resnet.gatech.edu]
Don't give up fighting, 'til nothing else stands in your way..Don't
give up talking, until there's nothing left to say....But no matter
what you do, don't ever compromise what you believe.   --The Ataris