
| email this FAQ to a colleague
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. - George V. Reilly | Articles | | Apr 22, 1997 - Active Server Components with VS 5.0 | | 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] |
| | |
|