我对C++不是非常熟,但是你这个main函数为什么不用return一个整型时间戳呢?以下是delphi下调用C DLL的一种方法Function main():integer; cdecl; external 'Time.dll' name 'main';