T
tongdings
Unregistered / Unconfirmed
GUEST, unregistred user!
/////////// declaration in delphi
procedure PackTime(nSeconds: Longint;var pcTime: PChar;
pSize: PInt);
stdcall;
////////// declaration in vc
#pragma comment( lib, "TimePaser" )
//typedef void (PACKPROC)(long,char*&,int*);
extern "C" __declspec(dllimport) int PackTime(long nSeconds,char*&
pcTime,int* pSize);
//附注:已通过impdef(c++builder)和lib(vc)等工具转换得到timepaser.lib文件.
//link通过,但运行时出现different call convertion异常.
//问下高手,上面两者转换等价吗?谢过
procedure PackTime(nSeconds: Longint;var pcTime: PChar;
pSize: PInt);
stdcall;
////////// declaration in vc
#pragma comment( lib, "TimePaser" )
//typedef void (PACKPROC)(long,char*&,int*);
extern "C" __declspec(dllimport) int PackTime(long nSeconds,char*&
pcTime,int* pSize);
//附注:已通过impdef(c++builder)和lib(vc)等工具转换得到timepaser.lib文件.
//link通过,但运行时出现different call convertion异常.
//问下高手,上面两者转换等价吗?谢过