Information générale
Catégorie:
Fonctions Windows API
Titre:
Can't pass parameter and call function in the DLL
I have a DLL that's written in C language.
The function inside the DLL is :
>> Get_OpenPort(Channel_Param *channel)
in c to pass the parameters into function is :
>> Channel_Param chan1 ;
>> chan1.BaudRate=Baud9600 /*Baud9600 was define in .h file/
>> chan1.Port=Com2 /*Com2 was define in .h file and included/
>> Get_OpenPort(&chan1) /*call the function and pass parameters/
I want to Use VFP to call the DLL and pass the parameters into function.
I can register the DLL already by used Declare statement , but when i want to call the function and pass parameter i faced a problem.
Anyone can help me ?
thanks
regard,
chang
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