小编use*_*875的帖子

如何在C++中从内存中卸载DLL?

如何从内存中卸载DLL.我使用FreeLibrary但它仍然加载

HINSTANCE hGetProcIDDLL = LoadLibrary("path.dll");
f_funci func = (f_funci)GetProcAddress(hGetProcIDDLL, "method");
int x = func();
FreeLibrary(hGetProcIDDLL);
Run Code Online (Sandbox Code Playgroud)

我曾经UnmapViewOfFileFreeLibraryAndExitThread内存,但它仍然太

c++ memory dll loadlibrary

5
推荐指数
1
解决办法
8790
查看次数

标签 统计

c++ ×1

dll ×1

loadlibrary ×1

memory ×1