Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making VFP DLL functions visible.
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Making VFP DLL functions visible.
Miscellaneous
Thread ID:
00236819
Message ID:
00236819
Views:
44
I have written a couple of test DLLs in VFP and they work if I call them from VFP. However, I want to call them from C, Delphi, and VB but the 'entry point' is missing. When I write DLLs in C, I have to declare functions as WINAPI - is there anything similar in VFP?

My basic code is similar to this:-
DEFINE CLASS x AS custom OLEPUBLIC
   FUNCTION FuncOne
      * does something here
      * returns result
   ENDFUNC
   FUNCTION FuncTwo
      * returns something else
   ENDFUNC
ENDDEFINE
Don't quote me on this code, it's from memory (not exact). The basic structure shows what I have.

Am I missing anything from this??
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Next
Reply
Map
View

Click here to load this message in the networking platform