什么是RpcNdr.h [英] What is RpcNdr.h
问题描述
微软在哪里免费
#define small char
您不能只是添加保留字到语言,并安静地包括在平台SDK!
You can't just add reserved words to the language and quietly include them in a platform SDK!
更重要的是,如何摆脱
编辑:如何查找包含在Visual Studio中的什么位置 - 在Visual Studio中显示C ++文件的#include层次结构
edit : how to find what is being included where and by what in Visual Studio - Displaying the #include hierarchy for a C++ file in Visual Studio
推荐答案
您没有说是否要移除头文件include或#define。
You didn't say whether you wanted to get rid of the header include or of #define.
你想摆脱include,但不知道在哪里,你可以尝试定义包含标志在上面的SDK包括列出的标志。
If you want to get rid of the include but don't know where, you could try to define the include flag in your header above where the SDK includes are listed.
#define RpcNdr.h //find the real flag in the header
#include "sdk.h"
如果只是'small'的#define,那么在SDK列表之后如何将它放在标题中。
If it is just the #define of 'small', then how about putting this in your headers right after the list of SDK includes.
#ifdef RpcNdr.h //find the real flag in the header
#undef small
这篇关于什么是RpcNdr.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!