How to use Ole Component in XOJO Desktop

Hi,

I’m trying to use an Ole Component inserted into my project using the Insert - Ole Component options found in the Reference folder. Specifically, it’s the Thinfinity.VirtualUI component.
If I start writing Thinf… in the code, the platform displays all the properties and methods of the inserted Ole component, indicating that it has been recognized and incorporated.
But when I run it, I get an error like this:
Static reference to instance method: call this on an instance of class Thinfinity.virtualUI.
Could you please explain exactly what I need to write to use this Ole Component?

Thanks in advance.

Just so you know, all that means is that the IDE has created an interface object. It doesn’t necessarily mean that it’s hooked up or initialized correctly. You’ll need to look at the docs for the component to see if there’s anything special that you need to do.

Hi Greg,

I finally figured out how to handle third-party DLLs and ActiveX.

Thanks.