- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a .rc resource file in a Fortran DLL project where I set information like the version number. Is there a way to automatically increment part of the file version number with each build? I currently manually edit the file version number, which is not onerous, but automation would be welcome. It looks like the .rc file is a text file that could perhaps be modified by a script, unless that would corrupt it. Thanks for any advice.
Regards,
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
Thanks for the link; it was much better information than my web searches found. It confirms that a script (macro) is needed for the automatic version incrementing to modify the .rc file.
Regards,
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right - I don't know of a built-in way to do this. What our projects do is put the version resource in a separate file and #include it in the main .rc. Then it's pretty easy to increment it as needed.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page