>>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,
Also, if the dll was intended to be used by c++ only, the names may be mangled.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement