Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a DLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00128301
Message ID:
00128419
Vues:
24
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform