Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#INCLUDE files in Classes
Message
From
30/04/1998 06:17:57
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00095830
Message ID:
00095906
Views:
23
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform