Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Building EXE Condition to include a VCX files
Message
 
 
À
04/10/2008 05:04:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01352681
Message ID:
01352752
Vues:
25
Thank you, Viv. This sounds very much like what I am looking for.

>Hi,
>
>I don't think you can do it with #DEFINEs. I use different prgs to compile different versions. Each one copies the relevant files from a sub folder to the location in which the project expects them before issuing the Build command.
>
>Probably be tidier to use a project hook and do this in the BeforeBuild but I never got around to it....
>
>HTH,
>Viv
>
>>Here is an example. I have a project that has two class libraries of exact same name (e.g. MYLIB.VCX). Each library reside in a separate folder (MYLIB1 and MYLIB2). Can I use a #DEFINE or something of that sort to set a condition so that when I build an EXE only one of the libraries (matching conditional choice) is included in the EXE file?
>>
>>Thank you in advance for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform