PDA

Click to See Complete Forum and Search --> : Deleting COM DLLs ??


JFS
May 16th, 2001, 10:00 AM
Ok,
I have a little annoying problem going on this morning. I am just playing with COM and ASP here. So I make a COM object in VB, compile the DLL, and test it in my ASP page. I find a little bug and go back to recompile it. However, it says can not create with same name. When I try to delete it say the DLL is in use even after restarting W3SVC and IISADMIN an registering regsrv32. This object is strictly for use within my test ASP page.



Any thoughts?

André
May 17th, 2001, 02:45 AM
Yep, install your Dll in MTS or COM+, once in there you can shut it down, and then be able to recompile.

The problem is that the Dll gets loaded into DllHost and stays there, then you cannot alter it becaus it could cause problems to 'other' clients, the computer does not know you are testing.

Another thing, why not test your dll with a Standard EXE project from within' the VB IDE, then when tested you compile it and use it from ASP!!!

André