📄 uregister.pas
字号:
unit uRegister;
interface
uses
Windows, ActiveX, ComServ;
function DllRegisterServer: HResult;
function DllUnregisterServer: HResult;
implementation
function DllRegisterServer: HResult;
begin
Result := S_OK;
try
ComServer.UpdateRegistry(True);
{ Insert custom registration code here }
except
Result := E_FAIL;
end;
end;
function DllUnregisterServer: HResult;
begin
Result := S_OK;
try
{ Insert custom unregistration code here }
ComServer.UpdateRegistry(False);
except
Result := E_FAIL;
end;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -