error C3861: 'InitializeCriticalSectionAndSpinCount': identifier not found
Posted on 2010-04-01 11:08 answer 阅读(1624) 评论(0) 编辑 收藏 举报
If you've got stdafx.h, try removing the following line if you have it.
#define WIN32_LEAN_AND_MEAN
Also note that MSDN says:
"To compile an application that uses this function, define
#define WIN32_LEAN_AND_MEAN
Also note that MSDN says:
"To compile an application that uses this function, define
_WIN32_WINNT as 0x0403 or later"