Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 23446, IncBuildNo

by Thomas Mueller Email: Anonymous

commandline tool to increment the build number of a delphi project and generate a .rc file
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 10.0  to 10.0 473 downloads
Copyright: No significant restrictions

Size: 270,210 bytes
Updated on Mon, 17 Jul 2006 08:52:05 GMT
Originally uploaded on Sat, 06 Aug 2005 10:01:08 GMT
MD5 Hash: D647D28F8D4968F880EB13957C2042C9

    Explore the files in this upload

Updated: Can now optionally set the ProductVersion.

If you use the dcc32 commandline compiler to do your builds, it normally won't increment the build number. This tool solves that problem:

called as
IncBuildNo MyProject
it will:
* try to read version information from MyProject.bdsproj
* if that failed, try to read it from MyProject.dof
* if AutoIncBuild = true, it will increment the project's build number and write it back
* create a MyProject.rc file containing the version information
* if MyProject.ico exists, it will add this file as an icon resource

The generated MyProject.rc file can be compiled into MyProject.res using brcc32 that comes with Delphi:

brcc32 MyProject.rc

That file will then be included by the dcc32 compile. -> problem solved

Full sources (Delphi 2005, but should be easy to port back to Delphi 7 or earlier) are included.

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03