Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Project hook
Message
 
 
À
25/06/2001 10:16:18
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00522542
Message ID:
00523058
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>Thanks for your response.
>
>However, what I like to know is how I can pass the parameters to the beforeBuild method. Can can I specify the cOutputName?
>Can I do this while building an exe from within the project?
>
>LPARAMETERS cOutputName, nBuildAction, lRebuildAll, lShowErrors, lBuildNewGuids
>
>TIA

What is passing the parameters? What you need is do this in code. Create you a bldapp.prg [don't call it build.prg] that accepts that list of parameters. Then you issue BLDAPP WITH '.\Output\myapp.app', 1, .f., .t., .f.

The BldApp.PRG looks like:
lparameter tcOutput, tnBuildAction, tlRebuild, tlShowErrors tlBuildNewGUIDs
modi proj vts noshow nowait
? _vfp.activeproject.Name  && for example
? _vfp.activeproject.build('vts.app',2,.f.,.t.,.f.)
_vfp.activeproject.close()
You can also modify this so you can pass the project name as a parameter. To see all the properties of the _VFP object just put it in the Watch window of the Debugger.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform