Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Letting go in VBA
Message
 
To
23/08/2001 09:44:40
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00547912
Message ID:
00547921
Views:
6
>I have a Foxpro comserver that I invoke from a VBA macro. When I set the reference variable in the macro to NOTHING, the dll file remains tied up. I have to exit the application program with the macro before I can update or delete the dll file. Is there a way to tell the comserver to release itself before I set the reference variable to nothing. The comserver is based on a session base class. Thanks.

It a problem with the caller not VFP. Set objvar = Nothing should release the reference unless there is another reference holding it. Just out of curiosity, what application is calling the COM server?
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform