How to keep a C++ com dll in memory?
-
I have a com dll written in C++ which is used in asp applications. The dll contains only one com object. There are static (global to the process) data objects within this dll. Obviously, I only want to initialize these static objects when the dll is first loaded. However, IIS seems to be reloading my dll everytime the com object is created and used in an asp page. :confused:
-
I have a com dll written in C++ which is used in asp applications. The dll contains only one com object. There are static (global to the process) data objects within this dll. Obviously, I only want to initialize these static objects when the dll is first loaded. However, IIS seems to be reloading my dll everytime the com object is created and used in an asp page. :confused:
Load it inside global.asa into Application object? Brian
-
Load it inside global.asa into Application object? Brian
Sorry, I am using this C++ com dll in asp projects, not ASP.NET projects.