Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foolproof way to crash VFP 3.0 & 5.0
Message
De
12/02/1997 11:00:32
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Foolproof way to crash VFP 3.0 & 5.0
Divers
Thread ID:
00020200
Message ID:
00020200
Vues:
73
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform