Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a DLL
Message
 
To
19/08/1998 17:43:45
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00128301
Message ID:
00128419
Views:
25
>Hello all..
>
>this may sound like a dumb question, but could someone tell me how to call a .DLL from a foxpro 2.6 program? I have tried to use the SET LIBRARY TO, but I get an error "LIBARY FILE IS INVALID" when I try to use the winsock.dll library. What am I missing here?
>
Hi Steven,

Just to confirm what Fred said about 32 bit DLLs, you can't use them in 2.6. You only have access to the old 16 bit interface.

As for getting errors when building, if you add the foxtools library to the project (it always will be marked as excluded) there won't be any problem with just using: = CallFN(m.function, m.parms) or whatever.
George

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

Click here to load this message in the networking platform