Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP7 crashes on shutdown w/certain activex dlls
Message
 
À
29/09/2002 21:44:51
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00705395
Message ID:
00705754
Vues:
9
>Yes. Everything is explicitly released before the QUIT is executed.
>
>Any other thoughts?

You might want to make sure you're releasing them in the opposite order that you instanciated them. For example:
This.oSample = CreateObject("MyObject")
This.oTest = CreateObject("AnotherObject")
This.oOneMore = CreateObject("ThirdObject")

* In the Destroy method(), or someplace similar

This.oOneMore = .NULL.
This.oTest = .NULL.
This.oSample = .NULL.
You will also want to make sure you do this for Crystal Reports (eg. release the CR page reference, then the App reference).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform