>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