首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

Vc6.0中使用静态链接库和使用动态链接库的有关问题

2012-01-21 
Vc6.0中使用静态链接库和使用动态链接库的问题!写好的程序想制作安装包,后来发现使用动态链接库必须把使用

Vc6.0中使用静态链接库和使用动态链接库的问题!
写好的程序想制作安装包,后来发现使用动态链接库必须把使用者的电脑的SYSTEM32文件夹装上MFC的动态链接库。所以就去工程设置里面把     使用MFC动态链接库改成使用MFC静态链接库   可是这样编译出项了错误
Compiling   resources...
E:\Microsoft   Visual   Studio\VC98\MFC\INCLUDE/l.chs\afxres.rc   (120):   error   RC2151   :   cannot   reuse   string   constants,   61446(0xF006)   -   "计时器 "   already   defined.   Cannot   add   61446(0xF006)   -   "一未命名文件 ".
Error   executing   rc.exe.


AFX_IDS_UNNAMED_FILE                           "一未命名文件 "    
这个怎么解决

[解决办法]
Resource Compiler Error RC2151
cannot re-use string constants

You are using the same value twice in a STRINGTABLE statement. Make sure you are not mixing overlapping decimal and hexadecimal values.

Each ID in a STRINGTABLE must be unique. For maximum efficiency use contiguous constants that start on a multiple of 16.


热点排行