在一个头文件里面定义了些枚举常量, 用MIDL编译后,得到一个.h头文件, 将该文件include 到COM组件的idl文件后,
#pragma   once
import "oaidl.idl";
import "ocidl.idl";
#include "myTypes.h"编译出现下面问题:
d:\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(364) : error MIDL2003 : redefinition : _LARGE_INTEGER
d:\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(383) : error MIDL2003 : redefinition : _ULARGE_INTEGER
d:\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(529) : error MIDL2003 : redefinition : Int64ShllMod32
d:\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(529) : error MIDL2025 : syntax error : expecting ; near "{"
d:\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(531) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation 
Error executing midl.exe.将上面语句改成:
#pragma   once
//import "oaidl.idl";
//import "ocidl.idl";
#include "myTypes.h"
又出现错误:
d:\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(529) : error MIDL2003 : redefinition : Int64ShllMod32
d:\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(529) : error MIDL2025 : syntax error : expecting ; near "{"
d:\Microsoft Visual Studio\VC98\INCLUDE\winnt.h(531) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation 
Error executing midl.exe.可能问题在什么地方? 多谢。