当前位置:首页>正文
在Delphi里面如何使用DLL
2024-01-03 10:22:53 互联网 未知
在Delphi里面如何使用DLL?
以下是我编写的示例代码,完成这个示例,需要三个文件:
1. dll工程文件, test.dll:
library testDll
uses
SysUtils,
Classes,
Forms,
FormDll in FormDll.pas {frmDll}
{$R *.RES}
function GetDllForm: TForm stdcall export
begin
Result := frmDll
end
exports
GetDllForm