随笔分类 -  C++技术

摘要:错误 1 error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended. d:\program files\microsoft visual studio 10.0\vc\atlmfc\include\atlcore.h 35 1 Test在stdafx.h中替换如下代码: 程序代码#ifndef WINVER// 允许使用 Windows 95 和 Windows NT 4 或更高版本的特定功能。#de 阅读全文
posted @ 2011-05-30 13:48 Byrd 阅读(1957) 评论(0) 推荐(0)
摘要:在非mfc下 使用CString 会导致上面错误: 解决办法: (1)如果你使用VC.net那么:使用MFC:包含cstringt.h;不使用MFC:包含atlstr.h (2 )或者 #include <afx.h> 阅读全文
posted @ 2011-02-25 12:28 Byrd 阅读(5398) 评论(0) 推荐(0)