Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behavior - Private DS doesn't clean up after its
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00313961
Message ID:
00314327
Vues:
66
Nadya,

There was a thread about this on the newsgroup within the last couple of days. The problem is the object is holding the DS open. The workaround is to change to the default DS before the createobject() and restore it to the PDS afterwards. Or just have the object created in the default DS before the form starts.

> I discussed this issue with my colleague, and he explained to me, why does it happen. This is the second case, which you mentioned.
>If the form invokes creation or instancination of an object (in this particular case custom class ErrorHandler), this object catches DS and untill it releases, the DS doesn't go away.
>
> In our conversation I called it VFP-bug, but he called it Undocumented VFP feature...
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform