` Printed Icetips Article

Icetips Article



COM: Constructing Interfaces 1
2002-12-28 -- Andy Ireland
 
Newsgroups: comp.lang.clarion

> I just downloaded the control and I'm also not able to have it working in
> clarion. You have to pass an Item property to the Add method and AFAIK
> there's no way to do that in Clarion. Hope anybody else will know, sorry!

Get the raw interface pointer, prototype and assign it and call into it
using COM.

i.e.

IInterface        interface,com
! methods
                      end

IInt                &IInterface
hr                   HRESULT

  code
     IInt &= (pRawIntPtr)
     hr = IInt.Method()

You can find the declaration of the Interface using OleView.

Regards

Andy
Plugware Solutions.com Ltd,  taking the puzzle out of I.T
Tel : +44 1249 813335
Fax : +44 1249 813462



Printed November 21, 2024, 6:53 am
This article has been viewed/printed 35381 times.
Google search has resulted in 3 hits on this article since January 25, 2004.