Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close executalbe
Message
From
20/03/2006 13:48:14
 
 
To
20/03/2006 12:43:52
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01105072
Message ID:
01105948
Views:
32
>I see. How do I release it from the client app?

What do you mean - normal or forced release?

For normal release you need to release an object reference of server instance just like you release VFP objects.
If you use variable to store the reference like:
loServer = CreateObject("My.Server")
Then you need to release the reference like:
RELEASE loServer
- or -
loServer = Null
If you use an object property then you need to set it to .NULL. (or any other value but Null is usual).

Ensure that there are not other variables or properties which contain the reference, otherwise it will be not released.

As for forced release you need to add appropriate method to server, but this is not recommended because other clients will lose connection to server.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform