Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing class library references for objects
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00151484
Message ID:
00151575
Vues:
19
Kevin,

Why exactly do you think the classlib is the cause of the massive slowdown of the app? If the subclasses are indeed little more than subclasses of the VFP baseclasses then they are not the source of the problem. Even if the classlib has classes that are not used in this app they don't cause you a memory hit because the subclass isn't loaded until you instantiate an object from it. The only minor penalty is it makes your exe bigger. How big are the .vcx/vct files?

>Recently I inherited an application that was created using two different class libraries. The problem is that these libraries were used for other applications and have tons of junk in them causing a massive slow down of this application. I want to remove both of these class libraries from this application, but some of the objects are from these class libraries. What I need to do is remove all references to these class libraries so that they are not compiled or referenced at all. The only way I know to do this is to go through the application and delete every object that has either of these classes referenced in it's ClassLibrary Property. These objects have not been modified at all, they are just subclasses of the baseclass.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform