>>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 ---