From 73d12d0f6eb5c673a951eec94ddf5cdeeacde369 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 May 2018 14:16:30 +0300 Subject: constructor of CMPlugin now registers it automatically in the module list, no need to call RegisterModule manually --- include/delphi/m_core.inc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include/delphi') diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc index f5af2c3ca4..7e913e2d7a 100644 --- a/include/delphi/m_core.inc +++ b/include/delphi/m_core.inc @@ -381,18 +381,6 @@ function mir_strcmpi(const p1,p2:PAnsiChar):int; stdcall; function mir_wstrcmpi(const p1,p2:PWideChar):int; stdcall; external CoreDLL name 'mir_wstrcmpi'; -/////////////////////////////////////////////////////////////////////////////// -// modules - -procedure RegisterModule(hInst:HINST); stdcall; - external CoreDLL name 'RegisterModule'; -procedure UnregisterModule(hInst:HINST); stdcall; - external CoreDLL name 'UnregisterModule'; - -function GetInstByAddress(codePtr:pointer):HINST; stdcall; - external CoreDLL name 'GetInstByAddress'; - - /////////////////////////////////////////////////////////////////////////////// // print functions -- cgit v1.2.3