Change app icon in Visual Studio 2005?

后端 未结 4 761
情话喂你
情话喂你 2021-02-08 23:40

I\'d like to use a different icon for the demo version of my game, and I\'m building the demo with a different build config than I do for the full verison, using a preprocessor

4条回答
  •  甜味超标
    2021-02-09 00:13

    According to this page you may use preprocessor directives in your *.rc file. You should write something like this

    #ifdef _DEMO_VERSION_
    IDR_MAINFRAME ICON "demo.ico"
    #else
    IDR_MAINFRAME ICON "full.ico"
    #endif
    

提交回复
热议问题