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.
写好的程序想制作安装包,后来发现使用动态链接库必须把使用者的电脑的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.