Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Classlib at moment of use versus opening them all
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00061040
Message ID:
00061467
Vues:
45
>I'm told that loading all the classlibs within an application is faster
>than issuing Set Classlib (whether additive or not) than issuing the
>command when you need it.
>set classlib to (the lib needed)
>.addobject() or createobject
>release classlib
>I'd like to know
>how others are doing it.
IF ATC('newLib', This.ClassLib) = 0
    SET CLASSLIB TO newLib.vcx ADDITIVE
ENDif
I don't know why, but that ATC makes it a _lot_ faster....
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform