Skip to content

Commit 285b108

Browse files
committed
added readme
1 parent 1ece5ca commit 285b108

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

readme.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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.

0 commit comments

Comments
 (0)