InitializeCriticalSectionAndSpinCount : 找不到标识符
2013-07-18 18:37
1126 查看
window版本过高导致的
在stdafx.h中添加
#if !defined(AFX_STDAFX_H__BAF75E52_BCEE_49E1_9FB2_653D8280FD13__INCLUDED_)
#define AFX_STDAFX_H__BAF75E52_BCEE_49E1_9FB2_653D8280FD13__INCLUDED_
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0501 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0601 // Change this to the appropriate value to target IE 5.0 or later.
#endif
在stdafx.h中添加
#if !defined(AFX_STDAFX_H__BAF75E52_BCEE_49E1_9FB2_653D8280FD13__INCLUDED_)
#define AFX_STDAFX_H__BAF75E52_BCEE_49E1_9FB2_653D8280FD13__INCLUDED_
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0501 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0601 // Change this to the appropriate value to target IE 5.0 or later.
#endif
相关文章推荐
- error C3861: “InitializeCriticalSectionAndSpinCount”: 找不到标识符
- InitializeCriticalSectionAndSpinCount identifier not found
- InitializeCriticalSectionAndSpinCount 错误
- InitializeCriticalSectionAndSpinCount
- InitializeCriticalSectionAndSpinCount以及InitializeCriticalSection的区别
- InitializeCriticalSectionAndSpinCount
- InitializeCriticalSectionAndSpinCount()
- InitializeCriticalSectionAndSpinCount
- InitializeCriticalSectionAndSpinCount
- C++的长api InitializeCriticalSectionAndSpinCount
- InitializeCriticalSectionAndSpinCount
- 转:InitializeCriticalSectionAndSpinCount()
- InitializeCriticalSectionAndSpinCount
- error C3861: 'InitializeCriticalSectionAndSpinCount': identifier not found
- Window API -- InitializeCriticalSectionAndSpinCount()
- Init CriticalSection spin count异常
- Init CriticalSection spin count异常
- DeleteCriticalSection和InitializeCriticalSection函数理解
- A c++ class wrapper to simplify the use of CRITICAL_SECTION and avoid dead-lock
- FUNCTION line.count does not exist. Check the 'Function Name Parsing and Resolution' section in the