Based on the principle of minimizing or not modifying the original project source code(Delphi、VC、QT);
Support Delphi DLL Form、VC DLL Form(Dialog/MFC)、QT DLL Form;
II. Development platform
Delphi10.3、WIN10X64;
Do not install any third-party controls;
WIN10X64 test pass;Support X86、X64;
Email:[email protected];
QQgrp:101611228;
III.Usage
Delphi:
Delphi original exe project, modified to DLL project. Output export function, the original code without any modification;
Put the compiled DLL file in the plugins directory;
Example: Module\sPath;
Example: Module\pm;
Example: Module\PDFView;
Delphi function declaration:
procedure db_ShowDllForm_Plugins(var frm: TFormClass; var strParentModuleName, strSubModuleName: PAnsiChar); stdcall;
procedure db_ShowDllForm_Plugins(var frm: TFormClass; var strParentModuleName, strSubModuleName: PAnsiChar); stdcall;
frm :DLL main form class name in Delphi;
strParentModuleName :Parent module name;
strSubModuleName :Sub module name;
VC2017/QT :
extern "C" __declspec(dllexport) void db_ShowDllForm_Plugins(TLangStyle* lsFileType, char** strParentName, char** strSubModuleName, char** strClassName, char** strWindowName, const bool show = false)
lsFileType :Base on Dialog DLL,or base MFC DLL or QT DLL;
strParentName :Parent module name;
strSubModuleName :Sub module name;
strClassName :DLL Main form class name;
strWindowName :DLL Main form title name;
show :show/hide DLL main form;
V. Features
The UI supports menu display, button (dialog box) display and list view display;
Supports the display of an EXE form program in our forms;
Support the EXE program of dynamic change of form class name;support multiple document forms;
Support file drag and drop to exe and DLL forms;
Support x86 EXE call x64 EXE, x64 EXE call x86 EXE;
VI. Next work:
Add database support (because I am not familiar with the database, the development is slow, and it is developed in my spare time)