Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C5 error when exiting app in develoment mode
Message
De
27/01/2001 17:26:19
 
 
À
27/01/2001 14:58:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00464802
Message ID:
00469442
Vues:
36
>If it's hidden, then the thisform.release in my close method is not actually working. I've stepped through the code, and it definitely hits that line. If there are no object references, how can it still be there?

Somewhere outside the form object is a reference to the form object; since it still exists, the form never really destroys itself, and you're left with the inevitable dangling object ref. Classically, launch non-modal form1, and from within non-modal form1, open non-modal form2, passing a reference to form1. form2 saves the reference to a form property. Non-modal form1 tries to release itself, but the object ref from form2 sustains it, so it never completes it's release...

>Deri
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform