Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL parameters
Message
De
27/09/2000 12:12:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00421431
Message ID:
00421541
Vues:
12
>I have tried sending 0, "0", and CHR(0), but I always get an "Invalid Handle" error returned from the DLL function. I am not a C programmer, but the type of parameter I am trying to send to the function is defined as "typedef void *CDK_HANDLE" in the header file. I just need to be able to create a valid parameter to send to the function from VFP.

Rodney,

void and null are not synonymous. A void pointer is simply a pointer that can point to any data type (for example, it could point to a structure, an integer, a character array, or even a structure).

I can relate to pointers in C, but I can't help you much when it comes to pointers in VFP. On wiki, Ed Rauh has "Pointers on Pointers", which may help.

http://fox.wikis.com/wc.dll?Wiki~WednesdayNightLectures

Are you able to get an example of how someone has accessed the DLL from VB? That might shed some light.

Good luck,
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform