Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DECLARE-DLL ...
Message
De
21/04/1999 12:07:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
DECLARE-DLL ...
Divers
Thread ID:
00210600
Message ID:
00210600
Vues:
234
Okay, here's one that's giving me fits ... I created a DLL in C++ (I also created one in Fox just to see how well it worked) as a test to make sure I could in fact make function calls to it from inside VFP. The DLL contains a function to perform certain involved processes when an action code = "C"

So we have a DLL (M2BR.DLL) containing a function (CallIn) *Capitalization intentional* to complete the business rule enforcement in the event of a call in ... Action Code "C". The function takes no parameters, and returns a 1 if successfull, or a 0 if not.

Now we turn our attention to VFox. In the startup prg we have the following line of code ...

DECLARE INTEGER CallIn IN M2BR

LIST DLLS indicates that the function is properly declared and resident.

However, when the function is called;

nCIResult = CallIn()

VFox returns "Cannot find entry point CallIn in DLL"

Any thoughts or comments ???

Thanks in advance,

Jason

P.S. The similar calls to the win32api.dll work fine. The DLL is in the System32 folder of the client system.
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform