c++ - How can I modify VS_VERSION_INFO from the cpp file -
when go resource view -> myproject.rc -> version -> vs_version_info i've got fields can change. possible change these fields through cpp file? use like:
#define filedescription "this program"
that cool because it's annoying go there , change these fields.
you can't. version resource embedded exe linker, isn't variable. windows knows how find , display version in properties window. trying modify code isn't useful design, isn't running when user looks @ properties. nor can modify own exe file, locked while program running. , uac stops programs tinkering executables, iceberg sinks roman's approach.
you don't have use resource editor if annoys you, .rc file text file can edit text editor, .cpp source code. , preprocessor gets shot @ file first, can substitute strings editing .h file .rc file #includes gets job done too.
Comments
Post a Comment