Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access a dll compiled in borland C++ from VFP or FPW26
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00158320
Message ID:
00158368
Views:
15
>Does anyone know how to access a dll compiled in Borland C++ from either VFP6 or FPW2.6? Tried foxtools.fll but it can't find any of the functions under the dll.

Hi Mark,

If you know the functions and their parameters, in VFP (32 bit) look at the DECLARE - DLL command in help. With FPW 2.6 (bit) you have to use the foxtools RegFN and CallFN functions. In both cases be sure that the function name is in the same case as the documentation states. C is case sensitive. Further, both should get the name of the dll (with path if necessary). Lastly, FPW must access a 16 bit dll, and 32 bit VFP, a 32 bit dll.

hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform