在 Windows 编程中使用 DWORD ,但是不包含 Windows.h 的方法
包含 intsafe.h、concrt.h、WinDef.h 或 minwindef.h 四者之一就可以。我不知道为什么微软会在这么多文件里定义 DWORD。
注意,这些头文件的适用场合不同,而且已知:
intsafe.h是 Windows Shell 使用的头文件。Windows.h和WinDef.h有冲突;Windows.h和minwindef.h也有冲突;concrt.h是用于 Windows C++ 并行编程的头文件;
参考网址:Windows Data Types
2万+

被折叠的 条评论
为什么被折叠?



