Hello, there is one problem, loading .NET Dll into my program:
According to the code presented above, everything is loaded. All dll functions are performed correctly, but after FreeLibrary it is not unloaded (I tried to set a million instead of a triple in a loop, all the same). If you look in Process Hacker 2, we will see that the Dll is loaded twice, photo:
I no longer catch up with what to do, and tried to call GetModuleHandle and unload it, but it returns 0. Thanks in advance. In Process Hacker 2, an unloaded dll is marked as "Relocated DLL"
Hello, there is one problem, loading .NET Dll into my program:
According to the code presented above, everything is loaded. All dll functions are performed correctly, but after FreeLibrary it is not unloaded (I tried to set a million instead of a triple in a loop, all the same). If you look in Process Hacker 2, we will see that the Dll is loaded twice, photo:
I no longer catch up with what to do, and tried to call GetModuleHandle and unload it, but it returns 0. Thanks in advance. In Process Hacker 2, an unloaded dll is marked as "Relocated DLL"