Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i build a vfp dll?
Message
 
À
26/12/2000 10:36:05
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00456837
Message ID:
00456873
Vues:
22
>Hi all, just that.
>
>Thanks
If you you do it with a PRG, then contain your procedures in a class:
* MyDLL.prg
define class TestDLL as custom
procedure retMsg1
return [My Message 1]
endproc
procedure retMsg2
return [My Message 2]
endproc
enddef

Then build your dll
build project MyDLL RECOMPILE FROM MyDLL.PRG
BUILD DLL MyDLL FROM MyDLL

* Then test
o=createobject('MyDLL.TestDLL')
messagebox(o.retMsg1) && My Message 1
messagebox(o.retMsg2) && My Message 2
release o
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform