Is there a way to force a DLL to unload with IIS 4.0? I am developing a DLL in VB and testing with ASP. With IIS3 I could stop and restart the server and then recompile the component, but that does not work for IIS4. Setting the
object to Nothing in the VBScript code does not appear to work (but it could be because there are errors occurring in the code). #570 - 1997.12.10
I have an Active Server component written in VB5 that I am testing in IIS 4.0. After I test the .ASP page in my browser, if I change my code and try to recreate the DLL I get "this file is in use" message from the system and cannot overwrite the DLL. I can shut down the browser, but
short of killing the IIIS 4.0 processes (which doesn't seem a great idea) or rebooting (which is annoying), I can't unload the DLL. Is there some method of doing this? #536 - 1997.10.19
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? #355 - 1997.04.02