mfc42u专题

VC 6.0 “fatal error LNK1104: cannot open file mfc42u.lib”问题解决

在公司运行成功的示例代码,放到自己电脑 VC 6.0 中编译,竟然得到了一个 fatal error LNK1104: cannot open file "mfc42u.lib" 错误。于是在网上搜索了一下 ,问题是默认的 VC 缺少对 Unicode 的支持,而这个代码恰恰就是按照 Unicode 发布,要使用 Unicode 编译。解决方案很简单,从 VC 的安装