mydll.pas
来自「DLL的动态调用」· PAS 代码 · 共 19 行
PAS
19 行
unit MyDll;
interface
function AddIt(x1, x2: Integer): Integer; stdcall;
function SubIt(x1, x2: Integer): Integer; stdcall;
implementation
function AddIt(x1, x2: Integer): Integer; stdcall;
begin
Result := x1 + x2;
end;
function SubIt(x1, x2: Integer): Integer; stdcall;
begin
Result := x1 - x2;
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?