Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Killing a VFP DLL used in ASP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00195624
Message ID:
00195746
Vues:
37
>>How do you release the VFP OLE Object when it is used in an ASP?
>if you used something like
>set ox = CreateObject("protecit.protecit")
>ox.blah
>ox.blah
>set ox=nothing
>
>This should do it.


It doesn't. This is because ASP does an extra AddRef() (or LoadLib()) on a DLL when first loaded causing it to *never* release through the normal COM unload
processes.

Only way to kill any ASP loaded COM object reliably is to shut down the Web
server. You can shut down an MTS session, but this will cause problems if
you have a busy Web site, because the MTS session is unlikely to be off long
enough to copy in a new component. This is one of the major shortcomings
of ASP.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform