Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#INCLUDE files in Classes
Message
De
30/04/1998 06:17:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00095830
Message ID:
00095906
Vues:
24
>I have in a single folder all the VCX's that are to be used commonly by several projects. Thoese classes are to use diferent Include files depending on the proyect they are used, the include file is named the same for all proyect (Sys.H) but it is stored in a subdirectory named IncFile within each directory for the proyect. The problem that I'm facing is that when the class is saved the complete path for the include file is hard saved, this is c:\proyect1\IncFile\Sys.H but I want to save the reference such as: \IncFile\Sys.H.
>Anybody facing the same or have a workarond you want to share?

you can use relative paths (even though it will seem VFP storeds the full path)
you can verify that by looking (or changing) the reserved8 field in the VCX
you will need to recompile the VCX for each project though

Arnon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform