Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When I release last object reference, what should happen?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
When I release last object reference, what should happen?
Divers
Thread ID:
00394466
Message ID:
00394466
Vues:
35
OK, it's stupid question time!

I created an object called my TimerManager. To test it I ring the bell every 5 seconds. So I create my object with goTimerMgr = newobject("TimerMgr", "TimerMgr.prg"). Don't laugh, it works. When I do goTimerMgr.destroy it goes away, as expected.

But I expected that the command "release goTimerMgr", as well as the command "goTimerMgr = null" would do the same thing, but they don't.

Did I misunderstand something? Does this only work for Linked Forms?
Tom Green in Montreal
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform