Greetings.
NativeAOT has been a fantastic deployment experience.
I can load a natively compiled dll in my C++ app and use GetProcAddress to get the exported function without any problems. However, once I called that function, the dll can no longer be unloaded. Despite successful call to FreeLibrary, the module still remains in the process.
I've tried some hacky approaches, which unfortunately did not work.
Is there any way to unload the NativeAOT compiled dll?
Greetings.
NativeAOT has been a fantastic deployment experience.
I can load a natively compiled dll in my C++ app and use
GetProcAddressto get the exported function without any problems. However, once I called that function, the dll can no longer be unloaded. Despite successful call toFreeLibrary, the module still remains in the process.I've tried some hacky approaches, which
unfortunately did not work.Is there any way to unload the NativeAOT compiled dll?