title: How to unload C++ DLL in C#
body: <p>I load a C++ DLL using DLLImport in my C# ASP.Net web application. The DLL basically reads some CSV files, and manipulates them and creates new files.</p>
  
  <p>After I ran the method successfully, and run it again then I get C++ exception back.  </p>
  
  <p>I want to unload the C++ DLL from the website so a user can re- load the DLL and re run the method.  Do you know how to either eliminate this error or get rid of this error message so the DLL can be unloaded after its run?</p>