Delphi Programming question
Posted on 1997-08-29
The Delphi 3 IDE has a provision to automatically increment the build number of the application. This feature appears disabled from the command-line DCC32 compiler.
I am looking for a way FROM DCC32 to set the build number to a given value, as well as the other versioning fields. I suspect it may take a comand line resource editor.
I already know how to READ the version information using combinations of GetFileVersionInfoSize, GetFileVersionInfo, and VerQueryValue.
My question is how to SET these. That can be via comand line, or tools so that I can write an app to do it for me, and I'll make that app comand line.
It is less important that these values be correct inside of the DPR, and more important that the final EXE contain the proper values.
The pupose of doing this is to better integrate the labeling of source code in PVCS with the resultant EXE that is released.