I did get the MSDN article to finally work. I was copying the Version information from the .rc file to the .rc2 file instead of cutting it.
I found some code that creates a DLL to do what I want here: http://www.codeproject.com/macro/autobuild.asp
I think if I use the DLL created from the...
Has anyone got this to work?
I have a related question. I want to add the version and build number in another executable. Do I need to do the following?
1. Include the .rc, .rc2, and VersionNo.h files in the project.
2. Create a new macro with the VB script from the MSDN article.
I am attempting to write a C++ console application that will do the following:
Open up a Command Prompt window.
Pass a text string to the Command Prompt (like “del filename.txt”).
The Command Prompt will execute the command and then return control to the C++ program.
I am using CreateProcess to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.