Click to See Complete Forum and Search --> : Purging Dll From Memory for debugging purposes


degazone
December 1st, 1999, 09:56 AM
I am trying to use dll's with my asp pages and the biggest problem I'm running into is that when I create the object in my ASP page and then it errors out I have no way of purging the systems memory in order to launch a newer version.
I realize this may be a basic question but I don't even know where to research this specific topic.
Thanks In advance

Lothar Haensler
December 1st, 1999, 10:09 AM
you could try to trap the errors in your VB script.
on error resume next
set o = server.createobject("yourProdId")
' do your DLL stuff
if err.number <> 0 then
set o = nothing
end if
...

still, this might not always work, because the DLL is cached in MTS.
Try to stop and restart MTS.