Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foolproof way to crash VFP 3.0 & 5.0
Message
From
12/02/1997 11:00:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Foolproof way to crash VFP 3.0 & 5.0
Miscellaneous
Thread ID:
00020200
Message ID:
00020200
Views:
78
Hey all...here's an interesting (and annoying) bug I've discovered in VFP...

On a form, let there be a property, say oPointer, which is a pointer to an object. (For example, oPointer=CREATEOBJECT("cusRecordMaint") or oPointer=oApplication).

RELEASE formname or formname.Release() doesn't release the form until you say formname.oPointer="", releasing the pointer to the object.

Here's the catch... If you don't release oPointer and do a CLEAR ALL, VFP _will_ crash. There's one for the FoxPro development team :-)
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Next
Reply
Map
View

Click here to load this message in the networking platform