General information
Title:
Problem with DLL function
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only