Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't pass parameter and call function in the DLL
Message
De
14/02/1999 07:35:09
 
 
À
06/02/1999 09:04:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00182255
Message ID:
00187494
Vues:
20
Hi Ed Rauh, Paul:
I have another problem !!!
>struct Session
>{
> WORD8 CardType;
> WORD8 ResetLen;
> BYTE ResetChar[RESET_LEN_MAX];
> WORD8 HistLen;
> WORD8 HistOffset;
> WORD8 Dummy;
> WORD32 ApduLenMax;
>};

>struct Apdu
>{
> BYTE Command[COMMAND_LEN];
> WORD16 LengthIn;
> BYTE *DataIn;
> WORD32 LengthExpected;
>};

>struct Resp
>{
> WORD32 LengthOut;
> BYTE *DataOut;
> WORD16 Status;
>};
typedef struct Session SESSION_PARAM;
typedef struct Apdu APDU_COMM;
typedef struct Resp APDU_RESP;

Above is another data structure of the functions.
How to pass the parameters to the function ?
Below is one of function call
1)G_ExchangeApdu(const BYTE ChannelNb,APDU_COMM *ApduComm,
APDU_RESP far *ApduResp);

2)How to convert the data type of BYTE in C ?

thanks
regard,
chang
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform