WIN32_LEAN_AND_MEAN
来源:互联网 发布:n86软件下载 编辑:程序博客网 时间:2024/05/19 02:03
Windows.h中是如此写的:
#ifndef WIN32_LEAN_AND_MEAN#include <cderr.h>#include <dde.h>#include <ddeml.h>#include <dlgs.h>#ifndef _MAC#include <lzexpand.h>#include <mmsystem.h>#include <nb30.h>#include <rpc.h>#endif#include <shellapi.h>#ifndef _MAC#include <winperf.h>#include <winsock.h>#endif#ifndef NOCRYPT#include <wincrypt.h>#include <winefs.h>#include <winscard.h>#endif#ifndef NOGDI#ifndef _MAC#include <winspool.h>#ifdef INC_OLE1#include <ole.h>#else#include <ole2.h>#endif /* !INC_OLE1 */#endif /* !MAC */#include <commdlg.h>#endif /* !NOGDI */#endif /* WIN32_LEAN_AND_MEAN */
作用就是当程序不想使用MFC时,直接定义:
#define WIN32_LEAN_AND_MEAN就可以忽略这些MFC中的模块了。
Windows程序有两种方式:一种是使用MFC,MFC很复杂,且效率不高,一种是SDK,SDK易于管理且效率更高。游戏一般使用SDK而不使用MFC。
0 0
- WIN32_LEAN_AND_MEAN
- WIN32_LEAN_AND_MEAN
- WIN32_LEAN_AND_MEAN
- WIN32_LEAN_AND_MEAN
- #define WIN32_LEAN_AND_MEAN
- 关于 WIN32_LEAN_AND_MEAN
- #define WIN32_LEAN_AND_MEAN
- 关于 WIN32_LEAN_AND_MEAN
- #define WIN32_LEAN_AND_MEAN
- #define WIN32_LEAN_AND_MEAN 的作用
- WIN32_LEAN_AND_MEAN 的作用
- #define WIN32_LEAN_AND_MEAN 的作用
- WIN32_LEAN_AND_MEAN 的作用
- #define WIN32_LEAN_AND_MEAN作用
- #define WIN32_LEAN_AND_MEAN 的作用
- #define WIN32_LEAN_AND_MEAN 的作用
- VC_EXTRALEAN和WIN32_LEAN_AND_MEAN
- 宏编译 预处理头 WIN32_LEAN_AND_MEAN
- tomcat 7 HTTP Connector BIO/NIO
- 将一个稀疏矩阵从一个二维数组转变成只包含非零结点的多链表
- SQL数据库高级学习
- 索引和NULL值
- 第九周项目三输出星号图(d)
- WIN32_LEAN_AND_MEAN
- Cosmos自定义颜色
- VS2008常用快捷键 最全的快捷键
- Cocos2d-x数据持久化-查询数据
- 周报---zedboard的NFS网络文件系统
- 代码格式化工具 CoolFormat使用手册
- C语言学习成果
- 安装mechanize
- HDU-1133-Buy the Ticket