Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Practices
Message
 
À
08/02/2013 09:12:08
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01565478
Message ID:
01565496
Vues:
97
I set classlib and set procedure like there is no tomorrow. If your application slows down, I would not look at this issue first. I have found that it's a good way to manage on which sources your application is dependant.


>I'm working on an application that has many class libraries (VCXs) in the project. In the startup code, there is a SET CLASSLIB TO...ADDITIVE command for each and every VCX. The same goes for procedures; SET PROCEDURE TO ... ADDITIVE. Is there any drawback to doing it this way? I was wondering if there is any advantages of loading them on a "as needed" basis. Something along the lines of
>
>IF !"SOMECLASSLIB"$SET("Classlib")
> SET LIBRARY TO SOMECLASSLIB ADDITIVE
>ENDIF
>
>Then when its not needed, just RELEASE CLASSLIB SOMECLASSLIB. Would this be a more efficient use of RAM and/or does it affect the speed in any way?
>
>TIA,
>Mike

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform