⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dibllinkmain.pas

📁 Delphi VCL Apollo 6.1
💻 PAS
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -