无法打开源文件“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

查看:54
本文介绍了无法打开源文件“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:无法打开源文件afxwin.h"<代码>C1083 无法打开包含文件:'afxwin.h':没有这样的文件或目录<代码>无法打开源文件afxext.h"/afxdisp.h"/afxdtctl.h"/afxcmn.h"/afxdisp.h等......

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

Where can I get these head files?

再一次,我的设置是:

VIsual studio 2015 终极 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++".如果没有选中它并点击更新.

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

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