Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a DLL
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00128301
Message ID:
00128894
Views:
26
>>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.


See that? Learn something new every day. Thanks, George.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform