fancycode / MemoryModule

Library to load a DLL from memory.

Home Page:http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MemoryModule

Build StatusBuild status

The default windows API functions to load external libraries into a program (LoadLibrary, LoadLibraryEx) only work with files on the filesystem. It's therefore impossible to load a DLL from memory.

But sometimes, you need exactly this functionality (e.g. you don't want to distribute a lot of files or want to make disassembling harder). Common workarounds for this problems are to write the DLL into a temporary file first and import it from there. When the program terminates, the temporary file gets deleted.

MemoryModule is a library that can be used to load a DLL completely from memory - without storing on the disk first.

See doc/readme.rst for more informations about the format of a DLL file and a tutorial how they can be loaded directly.

About

Library to load a DLL from memory.

http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/

License:Mozilla Public License 2.0


Languages

Language:C 59.9%Language:C++ 26.7%Language:Makefile 5.5%Language:CMake 4.5%Language:Batchfile 1.8%Language:Shell 1.6%