IonelBurtan
Programmer
I had posted this also on COM/DCOM forum
I have a question for you guys because there is no dedicated forum for ATL. Maybe you can help.
I have made a ATL DLL project with the Wizards default settings.
I have added an ATL Component of type ActiveX Server Component. I have wrote a dummy method that writes something in the Response Object from ASP called PutSomeResponse(Through the IResponse Interface). It works.
The problem is this:
After I use my component from ASP like this:
<%
Dim obj
Set obj = Server.CreateObject("MyAspAtl.MyAspComp"
Call obj.PutSomeResponse()
Response.Write ("Ceva"
Set obj = nothing
%>
The MyAspAtl.Dll is still in memory. Using some tools I have found out that the Dll was loaded by INetInfo.Exe(IIS's Exe), but the reference count for this Dll is 0!!!
So The Dll is not Unloaded.
I need to use the Dll to recompile & stuff.
I have found a workaround like this, but I am not happy with it:
- at command prompt: net stop w3svc
- recompile & stuff
- at command prompt: net start w3svc
Can you tell me what is going on?
Any help greatly appreciated
s-)
Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
I have a question for you guys because there is no dedicated forum for ATL. Maybe you can help.
I have made a ATL DLL project with the Wizards default settings.
I have added an ATL Component of type ActiveX Server Component. I have wrote a dummy method that writes something in the Response Object from ASP called PutSomeResponse(Through the IResponse Interface). It works.
The problem is this:
After I use my component from ASP like this:
<%
Dim obj
Set obj = Server.CreateObject("MyAspAtl.MyAspComp"
Call obj.PutSomeResponse()
Response.Write ("Ceva"
Set obj = nothing
%>
The MyAspAtl.Dll is still in memory. Using some tools I have found out that the Dll was loaded by INetInfo.Exe(IIS's Exe), but the reference count for this Dll is 0!!!
So The Dll is not Unloaded.
I need to use the Dll to recompile & stuff.
I have found a workaround like this, but I am not happy with it:
- at command prompt: net stop w3svc
- recompile & stuff
- at command prompt: net start w3svc
Can you tell me what is going on?
Any help greatly appreciated
s-)
Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...