>I did it but it gives me this error:
>Error code 080004002. Uncompatible interface
>
>>>I think you are correct. I just looked for this command in help, and I'll start to experiment. Do you have any code for this (the help example is a little oscure for me)
>>>Regards
>>
>>I used it only once :). I took the parameters from what the object browser showed me... like this:
>>
ospell=GETINTERFACE(this.object.SpellCtrl, "{8A8763C7-D866-4D33-A6E9-FF17C008D57B}", "WPTDynInt.ocx")
>>
>>
>>This was called from the .init of my olecontrol, and SpellCtrl was one interface of the control which wasn't exposed. Don't remember where I got the GUID - from the object browser or from the author, or did I dig it from the registry (unlikely :).
I was getting different errors until I got it to work... so, you're in uncharted territory now. Good luck - sorry I can't help you more, I stopped investigating when the errors stopped, it was a rush project.