how to add file info in CPP to compiled EXE?
I'm fairly new to CPP, although I have a bit of background in VB, Perl.
I've finished writing a simple console application that writes some registry keys.
I compiled it, and the application works as designed in all tests so far.
what I'm trying to do is add version and other file information to the compiled EXE.
I'm using MinGW to compile on my Windows computer.
The specific things I'm trying to add are what comes up when you right-click on the EXE file and choose Properties. Thing such as "Product Version", "Copyright", and "Description".
I've looked around, and I found RCVERSION, and used it to create a "version.h" file, but I don't know what to do from here, or even if this is what I need to do at all.
I'd appreciate any guidance in accomplishing this. Please let me know if there are any other details you need.
Thanks in advance!
This might help: http://www.codeproject.com/KB/cpp/rcversion.aspx
i downloaded the sample project they had on that page, and I think I figured out how they implemented the versioning, and it has nothing to do with using a "version.h" file in any way. (btw, I found this article, which seems to be an updated version of the one you linked to.)
basically, I had to add a block to my .rc file with the info, and then re-compile and now I have the info I want. I just have to customize it a bit further and then I'll be good to go.
in case anyone else is looking for this info, I found Microsoft's guide on this here:
this site also has a good article:
Thanks so much, Inigoesdr, for getting me on the right track!
|All times are GMT +1. The time now is 03:30 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.