Description: This an example of a loaded directly memory (resources in the form) and call the DLL function.
xDll just a test project with the dll, attach code, compile the xDll.dll directly on testLoadDll project directory
testLoadDll is the actual test code, Dll loaded directly the resource and call its export function
Loaded with MemoryLoadLibrary ()
Find the export function with MemoryGetProcAddress ()
When released by MemoryFreeLibrary
For details, see the code.
To Search:
File list (Check if you may need any files):
testLoadDll\MemoryModule.c
...........\MemoryModule.h
...........\Release\testLoadDll.exe
...........\resource.h
...........\testLoadDll.aps
...........\testLoadDll.cpp
...........\testLoadDll.dsp
...........\testLoadDll.dsw
...........\testLoadDll.opt
...........\testLoadDll.rc
...........\xDll.dll
xDll\ReadMe.txt
....\..lease\xDll.dll
....\.......\xDll.lib
....\StdAfx.cpp
....\StdAfx.h
....\xDll.cpp
....\xDll.dsp
....\xDll.dsw
....\xDll.h
....\xDll.opt
说明.txt
testLoadDll\Release
xDll\Release
testLoadDll
xDll