文件名称:从内存加载DLL完整代码及示例
文件大小:87KB
文件格式:RAR
更新时间:2013-11-27 14:43:18
内存加载 加载DLL
这是一个从内存(资源形式)直接加载并调用DLL中函数的例子。 xDll工程只是一个测试用的dll,附上代码,编译出的xDll.dll直接放在testLoadDll工程目录下 testLoadDll是实际测试代码,从资源直接加载Dll并调用其导出函数 加载用MemoryLoadLibrary() 查找导出函数用MemoryGetProcAddress() 释放时用MemoryFreeLibrary 详情请见代码。 by achillis QQ:344132161
【文件预览】:
testLoadDll
----resource.h(505B)
----testLoadDll.cpp(1KB)
----testLoadDll.aps(71KB)
----xDll.dll(40KB)
----testLoadDll.dsp(4KB)
----testLoadDll.rc(2KB)
----testLoadDll.opt(53KB)
----Release()
--------testLoadDll.exe(88KB)
----MemoryModule.c(14KB)
----MemoryModule.h(1KB)
----testLoadDll.dsw(528B)
说明.txt
xDll
----xDll.dsw(514B)
----StdAfx.cpp(291B)
----xDll.cpp(690B)
----xDll.opt(53KB)
----ReadMe.txt(1KB)
----StdAfx.h(802B)
----Release()
--------xDll.dll(40KB)
--------xDll.lib(2KB)
----xDll.h(707B)
----xDll.dsp(4KB)