Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a class into a DLL
Message
 
To
07/04/2003 18:42:47
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00774935
Message ID:
00774937
Views:
19
>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).
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform