Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to burn date/time into a build?
Message
De
23/03/2002 15:11:41
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00635930
Message ID:
00636493
Vues:
19
You can call your about method using genscrnx {{}} operator to
pass the build date:

about( {{date()}} )

>Seems as though this should be easy... so I'm probably just missing it. When I build an app or exe, I want to "burn" the date/time of the build into the build itself (either the compile time of a given PRG or build time would both be OK) ... so that I can put up an about box that says: "This version built mm/dd/yyyy:hh:mm:ss". The only way I can figure out how to do that now is the tedious way... i.e., filling in the info by hand in my code. I suppose I could write a routine to create a .H file on the fly with date/time #DEFINED there literally, and then build the app... but isn't there a more automatic way to do this?
Andrus
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform