C
chihotsai
Unregistered / Unconfirmed
GUEST, unregistred user!
幫我看看這dll如何改 謝謝
library DevLink;
uses Windows, Messages;
procedure CloseDevice; stdcall; external 'Dev.dll';
procedure OpenLinkDevice(DWORD); stdcall; external 'Dev.dll';
procedure ReadIOData(var P1: longint;P2: longint; var P3:longint); stdcall; external 'Dev.dll';
procedure WriteIOData(var P1: longint;P2: longint; var P3:longint); stdcall; external 'Dev.dll';
procedure CloseDevice; stdcall; BEGIN CloseDevice; END;
procedure OpenLinkDevice(DWORD); stdcall; BEGIN OpenLinkDevice(D); END;
procedure ReadIOData(var P1: longint;P2: longint; var P3:longint); stdcall;
BEGIN
ReadIOData(P1,P2,P3);
END;
procedure WriteIOData(var P1: longint;P2: longint; var P3:longint); stdcall;
BEGIN
WriteIOData(P1,P2,P3);
END;
exports
CloseDevice;
OpenLinkDevice;
ReadIOData;
WriteIOData;
begin
end.
需要更詳細 請加chihotsai@hotmail.com
library DevLink;
uses Windows, Messages;
procedure CloseDevice; stdcall; external 'Dev.dll';
procedure OpenLinkDevice(DWORD); stdcall; external 'Dev.dll';
procedure ReadIOData(var P1: longint;P2: longint; var P3:longint); stdcall; external 'Dev.dll';
procedure WriteIOData(var P1: longint;P2: longint; var P3:longint); stdcall; external 'Dev.dll';
procedure CloseDevice; stdcall; BEGIN CloseDevice; END;
procedure OpenLinkDevice(DWORD); stdcall; BEGIN OpenLinkDevice(D); END;
procedure ReadIOData(var P1: longint;P2: longint; var P3:longint); stdcall;
BEGIN
ReadIOData(P1,P2,P3);
END;
procedure WriteIOData(var P1: longint;P2: longint; var P3:longint); stdcall;
BEGIN
WriteIOData(P1,P2,P3);
END;
exports
CloseDevice;
OpenLinkDevice;
ReadIOData;
WriteIOData;
begin
end.
需要更詳細 請加chihotsai@hotmail.com