Combining multiple dlls in 1

I am wondering if it is possible to combine several DLLs in 1. Currently, I am working on a C ++ project, which depends on many dynamic link libraries, so it would be possible to combine them into one DLL file, and if so, how would I done?

+3
source share
3 answers

Really, no. Theoretically, if you wanted strongly enough, you could do something like disassemble all of them, and then reassemble all the individual files into object files, and then bind these object files into one big DLL. As a rule, this actually works non-trivially - most likely, things like conflicting character names will require considerable work to get around.

DLL zip (, ), , , DLL , , (, , / / ).

: , DLL . , DLL . () . , .

+2

DLL, .

DLL- DLL?

*.def( ), *.def.

+5

This is certainly unsafe. The Dll format contains all the necessary information to combine the code and data from several DLLs into one and reinstall the resulting code.

This is not a standard feature of any toolchain that I can think of.

+1
source

Source: https://habr.com/ru/post/1762166/


All Articles