Converts an EXE, so that it can be loaded like a DLL.
Supports both 32 and 64 bit DLLs
Inspired by the idea of @guywhataguy. Read more here.
Stable builds are available in releases.
Test builds can be downloaded from the build server (click on the build and choose the "Artifacts" tab)
Use recursive clone to get the repo together with all the submodules:
git clone --recursive https://github.com/hasherezade/exe_to_dll.git
Run exe_to_dll from commandline. Arguments:
args: <input_exe> <output_dll>
Example:
exe_to_dll.exe test_case1.exe test_case1.dll
After the successful conversion you should obtain a DLL exporting a Start function. This is the Original Entry Point of your input application.

You can test it by running:
rundll32.exe test_case1.dll,Start
1,336 followers · starred Jul 2023
123 followers · starred May 2023
807 followers · starred Sep 2022
6 followers · starred Jul 2023
Converts an EXE, so that it can be loaded like a DLL.
Supports both 32 and 64 bit DLLs
Inspired by the idea of @guywhataguy. Read more here.
Stable builds are available in releases.
Test builds can be downloaded from the build server (click on the build and choose the "Artifacts" tab)
Use recursive clone to get the repo together with all the submodules:
git clone --recursive https://github.com/hasherezade/exe_to_dll.git
Run exe_to_dll from commandline. Arguments:
args: <input_exe> <output_dll>
Example:
exe_to_dll.exe test_case1.exe test_case1.dll
After the successful conversion you should obtain a DLL exporting a Start function. This is the Original Entry Point of your input application.

You can test it by running:
rundll32.exe test_case1.dll,Start
1,336 followers · starred Jul 2023
123 followers · starred May 2023
807 followers · starred Sep 2022
6 followers · starred Jul 2023