>I’ve created a .dll from a custom class (olepublic). What are the exact step to call this class and its methods?
>
>Is it possible to do this with a .PRG only?
>
>Thanks in advance
>
>Oscar Corte
What do you mean exactly?
The following will create the object and call it:
o = CREATEOBJECT("YourProject.YourClass")
o.HelloWorld()
In a VBA type language you'd add this the DLL or EXE to the project references and then declare the object as the ProgId (YourProject.YourClass).