Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i build a vfp dll?
Message
 
To
26/12/2000 10:36:05
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexico
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00456837
Message ID:
00456873
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform