Intellisense无法打开源文件"*.h"

Spi*_*nie 8 c++ configuration visual-studio-2012

我不知道可能发生了什么.我删除了一些我添加到VC文件夹和附加依赖项(我添加的OpenGL库)的库,然后当我尝试编译程序时,我收到了100个错误.问题是我当前的项目没有识别一些标准头文件.这是我得到的:

#include <Windows.h>    <-----Error from title
#include <stdio.h>      <-----Error from title
#include <stdlib.h>     <-----Error from title
#include "stdafx.h"     <-----OK
#include <CommCtrl.h>   <-----Error from title
Run Code Online (Sandbox Code Playgroud)

我已经创建了一个新项目来比较它的属性,但没有注意到任何遗漏.有没有人知道为什么项目没有使用这些标题?

raj*_*raj 16

确保在VC++ directories- > 下有所有这些路径Include Directories:

$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);??