Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Killing a VFP DLL used in ASP
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00195624
Message ID:
00195850
Views:
27
>>>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 ---

Is this true of an exe? We have all our com objects built as exes and have not seen a problem with this working.

Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform