无法打开源文件"afxwin.h"/"afxext.h"/"afxdisp.h"/"afxdtctl.h"/"afxcmn.h"/afxdisp.h等 [英] cannot open source file "afxwin.h"/"afxext.h"/"afxdisp.h"/"afxdtctl.h"/"afxcmn.h"/afxdisp.h etc

查看:1782
本文介绍了无法打开源文件"afxwin.h"/"afxext.h"/"afxdisp.h"/"afxdtctl.h"/"afxcmn.h"/afxdisp.h等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在安装了多类型MFC库的Visual Studio 2015 MFC上运行以前编写的MFC c ++代码.

I try to ran a previous written MFC c++ code on my visual studio 2015 MFC with multitype MFC library installed.

但是,关于功能缺失,我仍然有12个错误:

However, I still have 12 errors here regarding missing function:

IntelliSense: cannot open source file "afxwin.h" C1083 Cannot open include file: 'afxwin.h': No such file or directory cannot open source file "afxext.h"/"afxdisp.h"/"afxdtctl.h"/"afxcmn.h"/afxdisp.h etc....

IntelliSense: cannot open source file "afxwin.h" C1083 Cannot open include file: 'afxwin.h': No such file or directory cannot open source file "afxext.h"/"afxdisp.h"/"afxdtctl.h"/"afxcmn.h"/afxdisp.h etc....

在哪里可以得到这些头文件?

Where can I get these head files?

同样,我的设置是:

VISUAL Studio 2015 Ultimate MFC 已安装多字节MFC库 Windows 8-64位计算机

VIsual studio 2015 ultimate MFC Multibyte MFC library installed Windows 8 - 64 bit machine

谢谢!

推荐答案

我刚刚解决了一个类似的问题.这是解决问题的方法.

I just fixed a similar problem. Here's how you can resolve this.

  1. 转到控制面板
  2. 导航以卸载/更改程序.
  3. 向下滚动,直到看到Visual Studio安装
  4. 点击更改
  5. 弹出窗口后,点击修改"
  6. 在编程语言下-> Visual C ++ 确保选中"Microsoft Foundation Classes for C ++".如果未选中,请单击更新.
  1. Go to your control panel
  2. Navigate to uninstall/change a program.
  3. Scroll down until you see your visual studio installation
  4. Click change
  5. Once the window pops up, click "Modify"
  6. Under Programming Languages -> Visual C++ Make sure "Microsoft Foundation Classes for C++" is checked. If it isn't select it and click update.

这篇关于无法打开源文件"afxwin.h"/"afxext.h"/"afxdisp.h"/"afxdtctl.h"/"afxcmn.h"/afxdisp.h等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆