L
L
LLEM00N2020-09-13 01:39:45
C++ / C#
LLEM00N, 2020-09-13 01:39:45

How to embed a DLL into an executable file?

Is it possible to somehow embed a library, for example, MSVCP140.DLL, into an executable file so as not to drag it along?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
15432, 2020-09-13
@LLEM00N

There are several approaches, for example, making a self-extracting archive in %TEMP% that will run the program from a temporary folder (some installers do this).
I prefer the file system virtualization approach, when all files are right inside the .exe and are not copied outside, one of these solutions is the Molebox program

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question