Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making VFP DLL functions visible.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Making VFP DLL functions visible.
Divers
Thread ID:
00236819
Message ID:
00236819
Vues:
45
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform