Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject() vs NewObject()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01249678
Message ID:
01250094
Vues:
21
Hi Russell,

>Does this have implicatons in a multithreading situation?

No. Like most other settings the class library settings is stored in the Thread Local Storage of the DLL. It's scoped to the DLL and thread.

> Kind of odd to just close these and reopen them.

It's not that bad. When you monitor disk activities, you can see that NEWOBJECT() doesn't physically access all files that have been loaded previously. It does, however, always check for the existence of the class library on disk, even when the class library is already loaded.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform