L
lsglishiguang
Unregistered / Unconfirmed
GUEST, unregistred user!
我调用dll,其中Integral;Spectrum;在dll 中返回类型被声明为void类型.我作的声明如下:
unit usbdll;
interface
function Integral(iTime:integer):void; stdcall;
function Spectrum(var data:integer):void; stdcall;
implementation
function Integral;external 'Cont375.dll' name 'Integral';
function Spectrum;external 'Cont375.dll' name 'Spectrum';
end.
编译时提示:'Undeclared identifier 'void''
unit usbdll;
interface
function Integral(iTime:integer):void; stdcall;
function Spectrum(var data:integer):void; stdcall;
implementation
function Integral;external 'Cont375.dll' name 'Integral';
function Spectrum;external 'Cont375.dll' name 'Spectrum';
end.
编译时提示:'Undeclared identifier 'void''