Builder C++ creating STRINGTABLE in resource

蓝咒 提交于 2019-12-11 20:09:12

问题


I cannot find anywhere how to create a stringtable in Builder C++ 2010. Do I have to use an external editor or is there another way?


回答1:


There is no resource editor built in to C++Builder 2010. You can easily add either a .res file built with another tool, or create a .rc file to add to your project and have the resource compiler create the resource. The following is an example of an .rc file which includes a string table

#define IDS_HELLO    1
#define IDS_GOODBYE  2

STRINGTABLE
BEGIN
    IDS_HELLO,   "Hello"
    IDS_GOODBYE, "Goodbye"
END 


来源:https://stackoverflow.com/questions/2248786/builder-c-creating-stringtable-in-resource

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!