You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the principle of minimizing or not modifying the original project source code(Delphi、VC、QT);
Support Delphi DLL Form、VC DLL Window(Dialog/MFC)、QT DLL Window;
II. Development platform
Delphi11.3、WIN10X64;
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: modules\CurlUI;
Example: modules\sPath;
Example: modules\pm;
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 window class name in Delphi;
strParentModuleName :Parent module name;
strSubModuleName :Sub module name;
VC2022/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 window class name;
strWindowName :DLL Main window title name;
show :show/hide DLL main window;
V. Features
The UI supports menu display, button (dialog box) display and list view display;
Supports the display of an EXE window program in our window;
Support the EXE program of dynamic change of window class name;support multiple document windows;
Support file drag and drop to exe and DLL window;
Support x86 EXE call x64 EXE, x64 EXE call x86 EXE;
VI. Known bugs:
1. File drag and drop can only be dragged and dropped to the main window, not directly to the sub module DLL window; This is a problem caused by permissions (resource manager is normal permissions and pbox is administrator permissions);
VII. 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)
VIII. Notice:
1. If you run the JavaCV、dbVideo module under PBox (x64), you need to unzip "Win64\plugins\SDK\OpenCV\4.6.0\bin\CUDA.7z" to current directory;
2. OpenCV(x64) is building on CUDA SDK. if your pc not NVIDIA Video Card, you can't run JavaCV、dbVideo x64 module;
3. because init Java VM, Delphi IDE raise: c0000005 ACCESS_VIOLATION. you can "Ignore this exception type", next time is not tips;