Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sub-Classes / DoDefault()
Message
 
To
24/10/2001 08:54:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00572362
Message ID:
00572954
Views:
25
Ok thankyou,

The reason I raised this question was to do with _assign methods,
We identified a bug where if you pass an object to an _assign method, it does not release the handle on the object properly.
This caused problems with forms in particular, because they would not close under VFP7.

I identified a case-specific WorkAround, where if you did a
return m.vNewVal
at the end of the assign method it seemingly released the reference it was holding to the object.
This worked on a single class, but did not carry over when implemented into our class hierarchy.
Therefore I was wondering if maybe internally VFP was passing the object through each _assign method in the hirearchy and only releasing the object at the lowest base class level (the only one with code in it).
It is really something that the guys from MS would have to answer though I would guess as it is probably impossible for anyone simply using VFP to work this out.
Previous
Reply
Map
View

Click here to load this message in the networking platform