VC的函数格式
//将时间转化为字符串
BOOL cmmnCnvrtTmToStrng(int year,int month,int day,int hour,int minute,int second,TCHAR *stringBuffer);
Delphi中对这两个函数的声明:
function cmmnCnvrtTmToStrng(year,month,day,hour,minute,second:integer; stringBuffer : pChar):boolean;cdecl;external 'CmmnFnctn.dll';
声明完后直接可用。