dibllinkmain.pas
来自「Delphi VCL Apollo 6.1」· PAS 代码 · 共 34 行
PAS
34 行
unit DIBLLinkMain;
interface
uses
ILRegister,
Windows;
// Procs
procedure Init(AAppHandle: THandle; ARegItem: TILLinkRegistrationItem);
exports
Init;
implementation
uses
Forms,
SysUtils;
procedure Init(AAppHandle: THandle; ARegItem: TILLinkRegistrationItem);
begin
Application.Handle := AAppHandle;
if GILLinks.Count = 0 then begin
Raise Exception.Create('Library contains no links.');
end else if GILLinks.Count > 1 then begin
Raise Exception.Create('Library contains more than one link.');
end else begin
ARegItem.Assign(GILLinks.Items[0]);
end;
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?