c++的dll返回值为结构体,delphi如何调用?
类型说明:typedefunsignedshortINT16U;typedefunsignedcharINT8U;typedefunsignedlongINT32U;ty...
类型说明:
typedef unsigned short INT16U;
typedef unsigned char INT8U;
typedef unsigned long INT32U;
typedefenum
{
TemHumNone,
TemHumLOAD,
TemHumSend,
}eType;
typedefstruct TemHumStatus
{
eType euType;
INT8U ucStatus;
INT8U ucNodeNum;
INT16U wTemp[8];
INT16U wHum[8];
INT8U ucYXStatus;
INT32U dwAddress;
}TemHumStatus;
以下为待调用的函数:
void CH_RoalPower_Init()
TemHumStatusCH_RoalPower_Unpack(INT8U *lpPtr, INT16U wUnPackSize);
INT16UCH_RoalPower_Pack(INT32U dwAddress, eType euMessgeType, INT8U* lpPre);
请高人指点,不甚感激! 展开
typedef unsigned short INT16U;
typedef unsigned char INT8U;
typedef unsigned long INT32U;
typedefenum
{
TemHumNone,
TemHumLOAD,
TemHumSend,
}eType;
typedefstruct TemHumStatus
{
eType euType;
INT8U ucStatus;
INT8U ucNodeNum;
INT16U wTemp[8];
INT16U wHum[8];
INT8U ucYXStatus;
INT32U dwAddress;
}TemHumStatus;
以下为待调用的函数:
void CH_RoalPower_Init()
TemHumStatusCH_RoalPower_Unpack(INT8U *lpPtr, INT16U wUnPackSize);
INT16UCH_RoalPower_Pack(INT32U dwAddress, eType euMessgeType, INT8U* lpPre);
请高人指点,不甚感激! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询