hi, i'm injecting a clr bootstrapper which loads a .net dll. My problem is that no matter what i do to kill / unload the created threads or the dll it is still loaded in wow. this is what i'm doing:
Code:
shutdown in the .net dll
guiThread.Abort();
Environment.Exit(int.Parse(Environment.GetCommandLineArgs()[1]));
that should kill the threads i have additionally created
Code:
and in the clr bootstrapper im unloading the dll and cleaning up the clr
DWORD *AppDom = NULL;
lpRuntimeHost->GetCurrentAppDomainId(AppDom);
lpRuntimeHost->UnloadAppDomain(*AppDom, false);
lpRuntimeHost->Stop();
lpRuntimeHost->Release();
but after i've done all that the dll is still loaded into wow.