将vc6工程导入到vs2005中,编译之后出现这个问题:
解决办法:将该文件拷贝到VC的安装目录/VC98/MFC/Lib,然后进行如下设置:
-
1) You'll need to have a copy of Visual Studio 6.0 or a copy of the Visual Studio 6.0\VC98\MFC\Lib directory.
2) Tools -> Options
a. If you don't see Projects and Solutions, check Show all Settings
b. Click Projects and Solutions.
c. Click VC++ Directories
d. Show directories for: Library Files
3) Add the path to your Visual Studio 6.0\VC98\MFC\Lib directory.
This will allow you to link to VC6.0 library items.