Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with DLL function
Message
De
13/10/2011 03:39:30
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Problem with DLL function
Divers
Thread ID:
01526248
Message ID:
01526248
Vues:
102
I have a problem with calling function from DLL. Function calling description in manual is

long sdReadDocumentData(SD_DOCUMENT_DATA* data)
where "SD_DOCUMENT_DATA* data" is adress of SD_DOCUMENT_DATA structure

Structure definition (in C+) is

typedef struct groupSD_DOCUMENT_DATA
{
char stateIssuing[50];
long stateIssuingSize;
char competentAuthority[50];
long competentAuthoritySize;
char authorityIssuing[50];
long authorityIssuingSize;
char unambiguousNumber[30];
long unambiguousNumberSize;
char issuingDate[16];
long issuingDateSize;
char expiryDate[16];
long expiryDateSize;
char serialNumber[20];
long serialNumberSize;
} SD_DOCUMENT_DATA;

I tried with

cBuffer = SPACE(232)
Answer = sdReadDocumentData(@cBuffer)

and get error.

When am I wrong? What shoul'd I put as a parameter of that function? How can I retrieve an adress of structure in smart card?

Thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform