faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Common Problems : .dll Questions

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 19 people (47%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

How can I upgrade a DLL that's in use on a live server?

Jun 5th, 2000 20:17
unknown unknown, Alexandar Minkovsky


You should be able to unreg old DLL's after all sessions that used them 
have ended.
If IIS does not release these DLL's when sessions are expired, you could
create a proxy DLL, with a method like: proxy.create(ProgID) and
proxy.release(ProgID). The first one should return an instance of the 
DLL you need. Then you create the proxy dll from your ASP - it should be 
simple enough and not require changes. Like this you take care about 
releasing objects so that they can be unregistered. Proxy DLL could read 
the curent ProgID from the registry, a text file, a database, etc...



© 1999-2004 Synop Pty Ltd