} GUID; 然后在b.cpp文件里面引用 #include #include <Windows.h> 这样编译会报错 程序报错:error C2146: 语法错误 : 缺少“;” 其原因是在a.h文件中 DWORD未定义,在a.h文件中引用minwindef.h再编译就会报错 fatal error C1189: #error : "No Target Architecture" #include <minwindef.h> typedef str...
I get the following error when generating the fastfat driver example: C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\ntdef.h(197,1): fatal error C1189: #error: "No Target Architecture" C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\ntdef.h: ...
getting the below error :winnt.h(128) : fatal error C1189: #error : "No Target Architecture"Thanks in advance for suggestions.Dharma P All replies (3)Thursday, May 14, 2009 11:24 AM ✅Answered | 1 voteYes, you'll have to tell which particular 64-bit processor you target. The ...
1 首先在vc6里面设置ddk的include和lib路径,要安装好一个ddk,以前安装好的也可以,只要ddk目录还在就可以了,这里假设ddk目录是F:\WINDDK 那么该目录下还会有子目录,一般2660是xp的ddk,3790是win2003的sdk,随便用一种都无所谓。在vc6里面,Tools --> Option -->Directoriers里面设置 Include路径...
fatal error C1189: #error : "No Target Architecture"的解决方案 https://blog.csdn.net/ultimatestudio/article/details/15998617 lydstory 粉丝-34关注 -0 +加关注 0 0 升级成为会员
报错C1189 #error: "No Target Architecture" 2018-12-22 10:37 −根本原因: 是因为单独包含了一些windows.h已经包含了的头文件如"fileapi.h","WinUser.h",但是却没有包含windows.h 或者先包含了如"fileapi.h","WinUser.h",后包含windows.h,顺序不对 先说解决方案: 在代码中 加入i... ...
Fatal error C1113 Fatal error C1116 Fatal error C1117 Fatal error C1120 Fatal error C1121 Fatal error C1126 Fatal error C1128 Fatal error C1189 Fatal error C1190 Fatal error C1191 Fatal error C1192 Fatal error C1196 Fatal error C1197 ...
Fatal error C1113 Fatal error C1116 Fatal error C1117 Fatal error C1120 Fatal error C1121 Fatal error C1126 Fatal error C1128 Fatal error C1189 Fatal error C1190 Fatal error C1191 Fatal error C1192 Fatal error C1196 Fatal error C1197 ...
When i compiled i am getting this error.fatal error C1010: unexpected end of file while looking for precompiled header directive in the .c file produced from the idl file.i included comdef.h and header file produced by midl compiler to the source file. i had the dll file in the same ...
1> C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\atlmfc\include\afxv_w32.h(16): fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h> utils.his being used in many files of this project; however, I use the guard ...