CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 1999
    Location
    CT
    Posts
    1

    Purging Dll From Memory for debugging purposes

    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


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: Purging Dll From Memory for debugging purposes

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured