Including resource file in a project by .RC file rather than .RES file

前端 未结 6 1862
长发绾君心
长发绾君心 2020-12-15 20:16

I remember reading an article or post somewhere years ago that suggested including a resource file in a project by referencing the .rc file instead of an already compiled .r

6条回答
  •  遥遥无期
    2020-12-15 20:58

    I tried to do this in Delphi 2007 and it didn't work. I had put the line,

    "{$R glyphs.res glyphs.rc}"

    in my project file right above the "{$R *.res}" line that the IDE puts in there but when I added the rc file using the IDE, it put it above the "uses" line and then it worked.

提交回复
热议问题