Q: I would guess this must be a newbie question. I am writing ATL objects,after I compile one and call it for the first time,I can not recompile it. The reason is that some process (I assume OLE automation)still has the DLL open and using it. Even thought I am calling the ATL Object using IIS and Active Server Page,and I do stop IIS I can't seem to get the ATL Object to release,that is without shutting down the computer. Could someone tell me if this is a registry setting,or something that I need to set in the code to get the ATL Object to release,so I can recompile. How do I do this?
A: You shouldn't need to shut down the computer, but you do need to shut down inetinfo.exe completely. Stop the WWW service (and the FTP and GOPHER services, if you have them running) and restart them. Unlike ISAPI extension DLLs, there is no magic registry setting that will unload ASP components.
A rewrite of part one of a four-part series on Active Server objects. A simple example of creating a Active Server Component in Visual Studio 5.0 using the Active Template Library 2.0. The example component retrieves the user's cookie, if not available issues a new 128-bit cookie. Included in the issue is the source code and step by step instructions. This issue has been rewritten to illustrate the use of Visual Studio 5.0 and ATL 2.0 in writing Active Server Components. [Read This Article][Top]
Part two of a four-part series on Active Server components. In this issue 15 Seconds discuss how to write and debug an Active Server object that writes to the Event Log. Included in the issue is the source code and step by step instructions. This issue uses MSVC 4.2 and ATL 2.0 [Read This Article][Top]
Part one of a four-part series on Active Server component. A simple example of creating a Active Server Component in MSVC 4.2 using the Active Template Library 2.0. Included in this issue is the source code and step by step instructions. [Read This Article][Top]