int WINAPI CNGPSendSingle(
int nNeedReport,
int nMsgLevel,
const char* sServiceID,
int nMsgFormat,
const char* sFeeType,
const char* sFeeCode,
int nFeeUserType,
const char* sValidTime,
const char* sAtTime,
const char* sChargeTermID,
const char* sDestTermID,
int nMsgLen,
const char* sMsgContent,
char* sMsgID,
int* pnErrorCode,
BYTE* pnCongestionState
int nSubType,
const char* sSrcTermID );
int nNeedReport,
int nMsgLevel,
const char* sServiceID,
int nMsgFormat,
const char* sFeeType,
const char* sFeeCode,
int nFeeUserType,
const char* sValidTime,
const char* sAtTime,
const char* sChargeTermID,
const char* sDestTermID,
int nMsgLen,
const char* sMsgContent,
char* sMsgID,
int* pnErrorCode,
BYTE* pnCongestionState
int nSubType,
const char* sSrcTermID );
const char* x => const x: PChar
BYTE* => PByte
int => Integer
可是返回值的字节数就是不构,可是用c调用该动态库就没有问题,
不知道还有什么要注意的地方吗?
WideString 类型和 Array of char 都是用过了 都不行
郁闷啊
,我用动态数组试了试,然后动态库 就报错乐什么也没有.还有高手能指点不,谢谢
sMsgID: array [0..1024] of Char,够长了吧,再丢进去还错的话,偶就不知道