10-11-2013 12:59 AM
Hello. I want to set the version info variables from my software's source code. I know I can read them by using _TARGET_FILE_VERSION_ or _TARGET_PRODUCT_VERSION_ macros, but how do I actually write them?
Isn't there any way to alter Target Settings' Numeric Information/Text Information to take a value from a defined variable at compile time? Thank you.
10-14-2013 09:31 AM
Hi,
You may want to try out some of the options listed in this older post:
Specifically, CVI_AppSetProjectVersionInfo function in order to set these values.
You also might want to refer to the Windows information for Version Resources, which can be found at:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
If you are looking to change version after compile, there are online examples for creating a tool to do this. However, it may cause issues depending on the method and how the file versioning is implemented.