Information générale
Catégorie:
Fonctions Windows API
>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++.
It depends. Can you post here the samples you had in VC++ and VB? If it's an optional parameter (maybe you don't need to pass a callback function, maybe it's just if you want to change a default function?), than you may be able to use it. If it's a mandatory one... no way.
>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?
I didn't, cause I was just curious about it (somebody gave it to me to see why it doesn't work in VFP). Probably a DLL or OCX wrapper is the easiest way to do it.
Vlad
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