Y
ymfmm
Unregistered / Unconfirmed
GUEST, unregistred user!
var
Form1: TForm1;
function scan(Path:string;ImageType,isNewID,x0,y0,w0,h0,DPI,Bright,Contrast:longint):smallint;stdcall;
far;external 'uniscan.dll'name 'scan';
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
scan('c:/img/f', 2, 0, 0, 0, 200, 280, 100, 0, 0);
end;
只要一运行就会弹出这样的错误:
Unable to create process:与系统连接的设备不能正常运转。
到底是怎么回事呢?
Form1: TForm1;
function scan(Path:string;ImageType,isNewID,x0,y0,w0,h0,DPI,Bright,Contrast:longint):smallint;stdcall;
far;external 'uniscan.dll'name 'scan';
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
scan('c:/img/f', 2, 0, 0, 0, 200, 280, 100, 0, 0);
end;
只要一运行就会弹出这样的错误:
Unable to create process:与系统连接的设备不能正常运转。
到底是怎么回事呢?