DLL调用和结构定义问题
以下为C++ Builder写的两个结构,如果要转换在PB中定义,该如何?
typedef struct CIPS_IDRect
{
unsigned char name[31];
unsigned char people;
short int birthday[3];
CHAR pzTxt[64];
int ScanMode;
void *IdentifyInfo;
unsigned char* pstrHead;
LONG lRight;
}CIPS_ID_RECT_S;
typedef struct CIPS_IDCard
{
CHAR szText[10][64];
CIPS_ID_RECT_S idRect[10];
}CIPS_ID_CARD_S;
以下为用C++ Builder写的DLL中的函数,在PB中如何调用?
IDIDENTIFYDLL int IDDLL_GetDevStatus(int ScanType,long &PhotoFileSize, BOOL& IDCardStatus, CIPS_IDRect *CIPParameter,long &PhotoFileSize);