Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Unknown Datasession
Message
From
03/10/2007 10:36:53
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01258161
Message ID:
01258224
Views:
16
>>Thanks. Can you just explain what you mean by "out of scope"? We're talking of tables and/or cursors opened/created in a private DS. What scope? The DS loses its name, not one of the objects therein. I don't quite follow.
>>
>>Oh, and is the situation dangerous?
>
>Terry,
>
>The objects are also created in particular datasession. Whe you call methods of an object it switches to datasession it was created in and switches datasession back when finishes. The DS cannot be released if there're still exist objects created in the DS. Those objects will never be released until application finishes. It could cause memory leak and even crashes. You have to do proper cleanup in your forms. Check also http://fox.wikis.com/wc.dll?Wiki~ManualGarbageCollection

Thanks Sergey.

Still I'm coming up at this expression "objects created". Do you mean a cursor, or fields entered in on a form, or what?

And calling the methods of an object in the datasession it was created in????? Sorry, I don't understand.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform