在c++中的DLL函数
int CmdGetCorrespondRecord(int addr,UCHAR* outbuf);
我在delphi中调用申明:
function CmdRecIGetInit(addr:integer; outbuf: ^char):integer
错误提示
:[Error] wuxiPos_f.pas(82): Previous declaration of 'CmdRecIGetInit' was not ed with the 'overload' directive:
问题是C++中的Uchar* 对应于delphi中类型?
请各位帮帮忙
int CmdGetCorrespondRecord(int addr,UCHAR* outbuf);
我在delphi中调用申明:
function CmdRecIGetInit(addr:integer; outbuf: ^char):integer
错误提示
:[Error] wuxiPos_f.pas(82): Previous declaration of 'CmdRecIGetInit' was not ed with the 'overload' directive:
问题是C++中的Uchar* 对应于delphi中类型?
请各位帮帮忙
[Error] wuxiPos_f.pas(82): Previous declaration of 'CmdRecIGetInit' was not ed with the 'overload' directive
cdecl; external 'yourdll.dll;你不会一口气为CmdRecIGetInit声明了N个吧