Hello all, and thanks for reading this post!
I have the scenario hinted at in the thread title:
In the web service, the functions that are decorated with the DLLImport attribute and call into the unmanaged DLL are all static.
I need someone to please explain to me how IIS and ASP.NET manages the loading, unloading, and caching of the unmanaged DLL. From that I hope to infer how that management impacts the internal state of the unmanaged DLL. I also need to know if any of this behavior is configurable either in the web service code, web.config, or within IIS.
I hope that makes sense. If not, please let me know and I'll try to clarify.
Also, please let me know if there is question is better suited for another forum.
Thanks in advance for your time and guidance.
Will.