Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DECLARE-DLL ...
Message
From
21/04/1999 12:07:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
DECLARE-DLL ...
Miscellaneous
Thread ID:
00210600
Message ID:
00210600
Views:
241
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
Next
Reply
Map
View

Click here to load this message in the networking platform