File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ The default windows API functions to load external libraries into a program
2+ (LoadLibrary, LoadLibraryEx) only work with files on the filesystem. It's
3+ therefore impossible to load a DLL from memory.
4+
5+ But sometimes, you need exactly this functionality (e.g. you don't want to
6+ distribute a lot of files or want to make disassembling harder). Common
7+ workarounds for this problems are to write the DLL into a temporary file
8+ first and import it from there. When the program terminates, the temporary
9+ file gets deleted.
10+
11+ MemoryModule is a library that can be used to load a DLL completely from
12+ memory - without storing on the disk first.
13+
14+ See doc/readme.txt for more informations about the format of a DLL file and
15+ a tutorial how they can be loaded directly.
You can’t perform that action at this time.
0 commit comments