title: How to unload an injected DLL from target process, from the DLL when done?
body: <p>I have a DLL that injects itself using the CreateRemoteThread/LoadLibrary method.</p>
  
  <p>It is cumbersome to quit the target application and restart it (it has a loading time of 10-20 seconds) when debugging and developing the DLL, so I want to unload the DLL when I have checked that what my code does works, to recompile / re-inject it.</p>
  
  <p>I want to avoid creating a new DLL with a framework for loading and unloading said DLL.</p>
  
  <p>How is this possible?</p>