Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #1473 > unrolled thread
| Started by | "Gary Miller" <gary_@_lucero_.com (remove all underscores)> |
|---|---|
| First post | 2011-06-21 12:49 -0700 |
| Last post | 2011-06-21 23:30 +0200 |
| Articles | 13 — 5 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Compile Date "Gary Miller" <gary_@_lucero_.com (remove all underscores)> - 2011-06-21 12:49 -0700
Re: Compile Date Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-21 21:57 +0200
Re: Compile Date "Gary Miller" <gary_@_lucero_.com (remove all underscores)> - 2011-06-21 14:20 -0700
Re: Compile Date "Willie Moore" <williem@wmconsulting.com> - 2011-06-21 20:49 -0500
Re: Compile Date - buildversion.zip (0/1) Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-22 09:50 +0200
Re: Compile Date - buildversion.zip (0/1) "Willie Moore" <williem@wmconsulting.com> - 2011-06-22 07:47 -0500
Re: Compile Date - buildversion.zip (0/1) Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-22 18:21 +0200
Re: Compile Date - buildversion.zip (0/1) "Gary Miller" <gary_@_lucero_.com (remove all underscores)> - 2011-06-22 10:32 -0700
Re: Compile Date - buildversion.zip (0/1) Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-22 21:13 +0200
Re: Compile Date - buildversion.zip (0/1) "Willie Moore" <williem@wmconsulting.com> - 2011-06-23 08:47 -0500
Re: Compile Date "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-06-22 11:08 +1000
Re: Compile Date Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-22 09:45 +0200
Re: Compile Date John Martens <adsl672100@tiscali.nl> - 2011-06-21 23:30 +0200
| From | "Gary Miller" <gary_@_lucero_.com (remove all underscores)> |
|---|---|
| Date | 2011-06-21 12:49 -0700 |
| Subject | Compile Date |
| Message-ID | <itqslb$24l2$1@adenine.netfront.net> |
Is there a way to programmatically get the compile date at run time? Thanks, Gary --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
[toc] | [next] | [standalone]
| From | Karl Faller <k.faller_withoutthat_@onlinehome.de> |
|---|---|
| Date | 2011-06-21 21:57 +0200 |
| Message-ID | <jnt107pvjiepom5gol7slboddv553ff3uu@4ax.com> |
| In reply to | #1473 |
Gary >Is there a way to programmatically get the compile date at run time? should be obtainable via the BuildVersion add on Rod da Silva published many moons ago, i think in the SDT mag. This incremented a build counter each time the compiler run. Maybe it's available on KnowVo? Karl
[toc] | [prev] | [next] | [standalone]
| From | "Gary Miller" <gary_@_lucero_.com (remove all underscores)> |
|---|---|
| Date | 2011-06-21 14:20 -0700 |
| Message-ID | <itr1ve$290d$1@adenine.netfront.net> |
| In reply to | #1474 |
Karl I couldn't find it on knowvo.com and I have a handful of the SDT magazines I perused without finding it. Thanks for the suggestion. Gary --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2011-06-21 20:49 -0500 |
| Message-ID | <itrhnu$jgh$1@speranza.aioe.org> |
| In reply to | #1475 |
Gary, I have the source for BuildVersion. I would like to get it working for Vulcan. There is an autobuild on codeplex but it doesn’t currently support the Vulcan project type. I am looking at modifying the source to it to add Vulcan support or write my over version of BuildVersion that will work with Vulcan. Regards, Willie "Gary Miller" wrote in message news:itr1ve$290d$1@adenine.netfront.net... Karl I couldn't find it on knowvo.com and I have a handful of the SDT magazines I perused without finding it. Thanks for the suggestion. Gary --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
[toc] | [prev] | [next] | [standalone]
| From | Karl Faller <k.faller_withoutthat_@onlinehome.de> |
|---|---|
| Date | 2011-06-22 09:50 +0200 |
| Subject | Re: Compile Date - buildversion.zip (0/1) |
| Message-ID | <qj73071b84h77ar2p4s93kshcr9vt4lm4o@4ax.com> |
| In reply to | #1475 |
Gary, Willie just posted the latest version and allowed me to distribute it - so here it comes. Beware his comment as: <<<<<< "To use it simply include the __Build_Version__ module in your program. It has to be named just like it looks or the toy will not be able to pick it out of the repo." <<<<<<< HTH Karl
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2011-06-22 07:47 -0500 |
| Subject | Re: Compile Date - buildversion.zip (0/1) |
| Message-ID | <itso87$6a5$1@speranza.aioe.org> |
| In reply to | #1483 |
Karl, You have to modify your cavo28.cfg to cause buildversion to be loaded. In the tools section, you have to add a line with buildversion. I have enclosed a sample of what it looks like. Regards, Willie [Tools] buildversion.dll=.
[toc] | [prev] | [next] | [standalone]
| From | Karl Faller <k.faller_withoutthat_@onlinehome.de> |
|---|---|
| Date | 2011-06-22 18:21 +0200 |
| Subject | Re: Compile Date - buildversion.zip (0/1) |
| Message-ID | <ui5407tqlsbtpd5ocvk9i6lu92ptbmgo3u@4ax.com> |
| In reply to | #1493 |
Willie, > >You have to modify your cavo28.cfg to cause buildversion to be loaded. In >the tools section, you have to add a line with buildversion. I have enclosed >a sample of what it looks like. > >Regards, >Willie > >[Tools] >buildversion.dll=. > thx, had forgotten to add this to my post - it's a long time since i added this for myself ;-) Karl
[toc] | [prev] | [next] | [standalone]
| From | "Gary Miller" <gary_@_lucero_.com (remove all underscores)> |
|---|---|
| Date | 2011-06-22 10:32 -0700 |
| Subject | Re: Compile Date - buildversion.zip (0/1) |
| Message-ID | <itt908$1tq7$1@adenine.netfront.net> |
| In reply to | #1493 |
Perhpas I'm missing the obvious. How does this help me get the compile date at runtime? Thanks, Gary --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
[toc] | [prev] | [next] | [standalone]
| From | Karl Faller <k.faller_withoutthat_@onlinehome.de> |
|---|---|
| Date | 2011-06-22 21:13 +0200 |
| Subject | Re: Compile Date - buildversion.zip (0/1) |
| Message-ID | <e9f407d9jgp4q4gmoo4gnsemb7aiedpkdp@4ax.com> |
| In reply to | #1502 |
Gary, >Perhpas I'm missing the obvious. How does this help me get the compile date >at runtime? well, perhaps not obvious. But as the full source is available, demonstrating the detection of a "dirty" compilation, it shouldn't be too hard, to define an additional tag __BuildDate__ . But if you aren't interested to discrimate between mere compiles and "dirty" compiles, a simple __DATE__ should do the trick, as someone mentioned (sorry, can't find the message in my folder struc ) Karl
[toc] | [prev] | [next] | [standalone]
| From | "Willie Moore" <williem@wmconsulting.com> |
|---|---|
| Date | 2011-06-23 08:47 -0500 |
| Subject | Re: Compile Date - buildversion.zip (0/1) |
| Message-ID | <itvg5v$j0m$1@speranza.aioe.org> |
| In reply to | #1502 |
Gary,
Buildversion doesn’t give you the date by default but if you mix
buildversion plus what Mathias and Wolfgang mentioned, you will be able to
get the date the program was last compiled.
Here is the code from __BUILD_VERSION__ module:
DEFINE __BUILD_VERSION__ := '35'
FUNCTION GetBuildVersion() AS STRING PASCAL
RETURN strMajorVersion + "." + strMinorVersion + "." +
strRevisionVersion + "." + __BUILD_VERSION__
FUNCTION GetBuildDate() AS STRING PASCAL
RETURN __DATE__ // the string coming back will be in the yyyymmdd
format
DEFINE strMajorVersion := '2'
DEFINE strMinorVersion := '3'
DEFINE strRevisionVersion := '0'
FormatDate( __DATE__ )
Regards,
Willie
[toc] | [prev] | [next] | [standalone]
| From | "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> |
|---|---|
| Date | 2011-06-22 11:08 +1000 |
| Message-ID | <zfbMp.7121$aH5.4677@viwinnwfe02.internal.bigpond.com> |
| In reply to | #1474 |
Karl > should be obtainable via the BuildVersion add on Rod da Silva > published many moons ago, i think in the SDT mag. This incremented a > build counter each time the compiler run. Isn't there something similar in VOPP?? CYA Steve
[toc] | [prev] | [next] | [standalone]
| From | Karl Faller <k.faller_withoutthat_@onlinehome.de> |
|---|---|
| Date | 2011-06-22 09:45 +0200 |
| Message-ID | <ta7307ptoavgfkc5vj37essoeunor5s0v8@4ax.com> |
| In reply to | #1479 |
>Isn't there something similar in VOPP?? yes, but it gets triggered by Vopp's "Systembuilder" ONLY. IMO that restricts it's usefullness a bit. Karl
[toc] | [prev] | [next] | [standalone]
| From | John Martens <adsl672100@tiscali.nl> |
|---|---|
| Date | 2011-06-21 23:30 +0200 |
| Message-ID | <4e010d5d$0$30708$5fc3050@news.tiscali.nl> |
| In reply to | #1473 |
I always built and EXE with Reposcript. It is easy to fill a PRG file with data you want to have in the EXE and after compile it will be part of your app. Op 21-6-2011 21:49, Gary Miller schreef: > Is there a way to programmatically get the compile date at run time? > > Thanks, > > Gary > > > > --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web