Information générale
Catégorie:
Fonctions Windows API
>Theoretically, yes. Practically, no! :) I had a DLL that I could not open in VFP, although it worked in VC++.
>
>I don't think it will help (I don't think you can have that error message because of this), but: any parameter of type "lp..." is a pointer. So, you must declare it as passed by reference (ie with an "@") and use it in the same way. Also, you can't use callback functions in VFP (AFAIK).
>
>This doesn't make any difference: LONG is exactly the same as INTEGER in VFP.
I will try your pass by reference tomorrow and keep my fingers crossed. The DLL function I am trying to call has a callbank function as one of its arguments. How should I handle this? Does this mean I cannot use this function? If so, I'll have to use VB or VC++.
BTW, how did you handle the DLL that worked in VC++ but not in VFP? Did you write a wrapper around it in C and make a DLL in C to use in VFP?
Thanks for the help!
Précédent
Suivant
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