There are currently a couple ways to programmatically change the version numbers built into your binaries:
1. The CVI ActiveX automation interface (samples\activex\cvi\cvisrvr.fp) has a function
CVI_AppSetProjectVersionInfo which allows you to change the version numbers.
2. The CVI command line utility (
compile.exe, in the root CVI directory) supports overriding the version numbers found in the project. For information on all the supported command line arguments, call compile with /?. A number of users have successfully implemented auto version increment by calling compile.exe from a script or batch file.
You'll be happy to know that improvements to the file versioning (most notably, auto-increment functionality) are in the works, and will likely be seen in a forthcoming release of CVI.
Mert A.
National Instruments
Message Edited by Mert A. on 09-06-2007 01:19 PM