Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dangling Object Reference Question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00810002
Message ID:
00812382
Views:
19
Simon,

Yes, the first instance creates an objref that will persist until the class definition is cleared from memory entirely. This should prohibit the release of the referenced object until a CLEAR CLASSLIB is executed.

This is sort of a hokey way of creating static properties for a class. It's a write once/read many sort of value.

>So in my case the cached class defintion actually contains a valid object reference because I used the propery sheet and not the Init method. In this case using the Init method is just as effective.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform