How to inject the right version information into the resources at compile time?
问题 I was surprised to discover that apparently it is not possible to import C predefined macros inside the resource files ( .rc ) because Resource Compiler is not able to deal with them. I was trying to put the version information inside a version.h that would be generated / updated by the build system. This file was supposed to be included from the resource.rc so when you build the resources you will always get the same versions across all the built files. It seems that this has something to do