Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vrp50- Clsslib naming
Message
De
12/05/1997 17:39:09
 
 
À
12/05/1997 16:20:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00031818
Message ID:
00031863
Vues:
47
>
>Hi Doug - I just want to change the class lib name to reflect the
>name of the application I am writing. example ...Students app
>would have a student.vcx for the class lib instead of main.vcx.
>Student.vcx will have the same methods as in main.vcx, but the
>class lib name will be diferent... Can you help?

Generally I would avoid this unless you intend for Student.VCX to grow off by itself (ie. no future relationship to Main.VCX). If you want your class code to be reusable, don't rename for each project. Not only will it cause referencing problems but it will be harder to track whats what later on.

Develop your "framework" class libraries as your standard model to start each project from and provide your basic components. You can always sub-class off your framework to create application specific class libraries as needed. If you follow this model, then you are able to continually update your "framework" class libraries across all projects.

-Doug-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform