当前位置:网站首页>MFC关闭预编译头文件后错误解决
MFC关闭预编译头文件后错误解决
2022-07-20 15:33:00 【小黄人软件】
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 C1189 #error: WINDOWS.H already included. MFC apps must not #include <Windows.h> FtSmartPos d:\program files\microsoft visual studio\2017\professional\vc\tools\msvc\14.16.27023\atlmfc\include\afxv_w32.h 16
错误(活动) E0035 #error 指令: WINDOWS.H already included. MFC apps must not #include <Windows.h> FtSmartPos D:\Program Files\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include\afxv_w32.h 16
错误 C1189 #error: "No Target Architecture" FtSmartPos d:\windows kits\10\include\10.0.17763.0\um\winnt.h 154
错误 C3646 “sock_client”: 未知重写说明符 FtSmartPos d:\010f200\svn\producetoolmfc\ftsmartpos\ftsmartpos\toolbydmes\comm\mysocket.h 16
错误 C4430 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int FtSmartPos d:\010f200\svn\producetoolmfc\ftsmartpos\ftsmartpos\toolbydmes\comm\mysocket.h 16
已经全部删了WINDOWS.H,还提示重了。把pch.h或stdafx.h放在每个头文件最前面 后OK。
严重性 代码 说明 项目 文件 行 禁止显示状态
错误 C1189 #error: "No Target Architecture" FtSmartPos d:\windows kits\10\include\10.0.17763.0\um\winnt.h 154
#include <minwindef.h>
#include <WinDef.h>
全删除。或者放在最后面。
边栏推荐
- 使用es实现个人博客的模糊搜索,搜索推荐
- Relation et différence entre la cartographie des fichiers (mmap) et sendfile et zéro copie
- Machine learning - detailed derivation of support vector machine theory (including explanation of examples) (IV)
- Water pouring problem (day 69)
- ModuleNotFoundError_No_module_named通俗的解释和方法
- flask初体验
- redis 内存分析工具 RMA 使用
- 一套.Net Core学校管理系统源码
- Introduction à hide & seek - - simulation de bout en bout et traitement des données d'observation radio (II)
- 2022河南萌新联赛第(二)场:河南理工大学 I - 22数
猜你喜欢
@RestControllerAdvice作用及原理
Machine learning by Li Hongyi 4 Deep learning
Generate arbitrary edge smooth shape (patch) artifact
Quick reading of the paper: axial deeplab: stand alone axial attention for panoramic segmentation
实现一个《头像循环轮播控件》
【Bug解决】Warning: grad and param do not obey the gradient layout contract. This is not an error, but..
Kalman filter meets deep learning: papers related to Kalman filter and deep learning
又一个轻量级 ViT:Lite Vision Transformer with Enhanced Self-Attention
muduo网络库编程
Introduction and learning of Jason
随机推荐
2022河南萌新联赛第(二)场:河南理工大学 I - 22数
@MapKey用法说明
一套.Net Core学校管理系统源码
SAP Spartacus 成功读取 Cart 之后,如何将 payload 插入全局 state
2022河南萌新联赛第(二)场:河南理工大学 K - 大米
生成任意边缘平滑形状(斑块)神器
Cluster chat server: Project Introduction
[bug resolution] visibledeprecationwarning: creating an ndarray from ragged needed sequences
At the same time, RF interference signal inspection and mitigation are realized
[论文速度] 同时解决成像时,曝光不足和曝光过度问题:Deep Reciprocating HDR Transformation
[vs2019] printing Chinese characters in disorder
简单运行k6
使用es实现个人博客的模糊搜索,搜索推荐
Interpret the transfer() function in numpy in detail (with examples to help understand)
2.负载测试
Unity自定义属性(Attribute)示例
log4j配置文件
根据两个向量计算它们之间的旋转矩阵
倒水问题(DAY 69)
【VS2019】创建C工程