开发者

concat strings in .rc file

开发者 https://www.devze.com 2023-03-16 17:09 出处:网络
I have .rc file with string defi开发者_如何学运维nition #define PATH \"C:\\\\Program Files\\\\My\"

I have .rc file with string defi开发者_如何学运维nition

#define PATH "C:\\Program Files\\My"
#define FILE "file.txt"

#define HTML 23

file.txt HTML PATH+"\\"+FILE      <--- how to write properly?


You might try it the C style, so just writing

PATH "\\" FILE

but I do not really expect it to work. Even if that is accepted by the resource compiler I doubt that the Resource Editor will accept such code.

0

精彩评论

暂无评论...
验证码 换一张
取 消