Registry / utility / memorymodule

memorymodule

JSON →
library2019-12-31vcpkgunverified

MemoryModule is a library that allows loading a DLL from memory rather than from a file on disk.

vcpkg install memorymodule
INSTALL
IMPORT
SIG · MEMORYMODULE
M
memorymodule
utilitycppv2019-12-31
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MemoryModule.h
#include <MemoryModule.h>

Load a DLL from a memory buffer.

#include "MemoryModule.h" #include <vector> #include <cstdint> int main() { std::vector<uint8_t> dll_data = {/* ... */}; HMEMORYMODULE handle = MemoryLoadLibrary(dll_data.data(), dll_data.size()); if (handle) { // Use functions from the loaded DLL MemoryFreeLibrary(handle); } return 0; }
Debug
Known issues
gotchaMemoryModule does not support all features of LoadLibrary (e.g., resource loading, some exports).
fix
Test thoroughly; consider using a real file-based load if full compatibility is needed.
affects: all
Upgrade
Version history
2019-12-31latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

memorymodule — pip install memorymodule · libregistry