Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a class into a DLL
Message
 
À
07/04/2003 18:42:47
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00774935
Message ID:
00774937
Vues:
18
>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform