Build using DCC32.exe in delphi
delphi, delphi-5
Solution
dcc32.exe can't increase build number directly. Version info (including build number) is used from *.res file which is updated every time by IDE. To bypass IDE you can write RC script with version info section, small app that will increase build number in this script. Then, you can create bat file with the following actions for building:
- Run your app to increase build number
- Compile RC script using brcc32.exe (in - RC script, out - RES file)
- Compile your application with dcc32.exe with new .res file
P.S. Don't forget to include RES file with version info to your project:
{$R "yourversioninfofile.res"}
Problem
Hello I am building my delphi project using the following command: ``` Command: dcc32.exe project.dpr d:\exe_folder ``` The above command works good and I am able to cerate the exe in output folder. But when I build same project through IDE then on each build the build number is incremented as there is option 'Auto Increament Build Number' which I have checked. But while doing it through command line the build number is not getting increasing. Any option to revise the build info/version info through the command line?? Thanks..