【VS】_WIN32_WINNT not defined
VS2015中自己程式設計時遇到這個問題
_WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
解決辦法:
#define _WIN32_WINNT 0x0502
在stdafx.h中新增上述巨集定義。
備註:必須在stdafx.h中所有#include 檔案之前新增此程式碼。
問題解決!
相關文章
- VS error LNK2005:**already defined in **.objErrorOBJ
- ReferenceError: webpack is not definedErrorWeb
- default gateway is not definedGateway
- Please define _WIN32_WINNT or _WIN32_WINDOWS appropriatelyWin32WindowsAPP
- define和defined區別
- __dirname is not defined in ES module scope
- golang gdb Function "main" not defined.GolangFunctionAI
- jQuery報錯:Uncaught ReferenceError: $ is not definedjQueryError
- NLS_LANG is not defined on the client.client
- what is conversion exit defined in ABAP domainAI
- php中defined與define()函式PHP函式
- User defined table type and table valued parameters
- spring getBean(String) No bean named '' is definedSpringBean
- SAP PP What is MRP Area And How Is It defined
- 報錯ReferenceError: require is not defined,找不到requireErrorUI
- 關於$ is not defined的原因和解決辦法
- Pre-defined C/C++ Compiler MacrosC++CompileMacROS
- idea匯入專案報Maven version is not definedIdeaMaven
- 報錯No bean named ' is defined的原因和解決方案Bean
- Azure 使用者自定義路由 (User Defined Route)路由
- BAdI: Customer-defined Functions in Formula BuilderFunctionORMUI
- Python 解決 :NameError: name 'reload' is not defined 問題PythonError
- 除錯記錄:The public type must be defined in its own file除錯
- 解決proto3的"Timestamp" is not defined問題
- 軟體定義交付宣言(Software Defined Delivery Manifesto)
- Laravel 路由學習 - 遇到問題,報錯:Route [home] not definedLaravel路由
- Target runtime apache tomcat v5.5 is not defined錯誤ApacheTomcat
- No bean named 'xxx' is defined錯誤,原因及解決方案Bean
- toMyCar:119 Uncaught ReferenceError: toJS is not defined at HTMLAnchorElement.onclickErrorJSHTML
- 【爬坑日記】vue中引入echarts,報錯ReferenceError: echarts is not definedVueEchartsError
- mysqldump: Got error: 1168 differently defined non-MyISAM LOCK TABLESMySqlGoError
- oracle10g RAC Default gateway is not defined (host=rac2) (vm)OracleGateway
- NOSQL資料庫大比拼:Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBaseSQL資料庫MongoDBRedis
- RDBMS VS XML VS NoSQLXMLSQL
- Axum vs Actix vs Rocket
- stb_image multiple definition of first defined here 多檔案包含問題
- Oracle OCP 1Z0 053 Q273(system-defined window)Oracle
- error LNK2005: already defined in libcmt.libError