e:\电磁仿真\radioplan\colourpopup.h(50): error C2011: “tagMONITORINFO” : “struct”类型重定义
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinUser.h(10533) : 参见“tagMONITORINFO”的声明
e:\电磁仿真\radioplan\colourpopup.h(57): error C2011: “tagMONITORINFOEXA” : “struct”类型重定义
        c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\WinUser.h(10541) : 参见“tagMONITORINFOEXA”的声明请问这是怎么个问题,
这是我的代码:如下
我只是在成需中加入两个文件,
CJColorPicker.h,CJColorPicker.cpp和ColourPoPup.h,ColourPopup.cpp这个第三方的源码
就出现了上述问题。
typedef HANDLE HMONITOR;typedef struct tagMONITORINFO 
{  
    DWORD  cbSize; 
    RECT   rcMonitor; 
    RECT   rcWork; 
    DWORD  dwFlags; 
} MONITORINFO, *LPMONITORINFO; typedef struct tagMONITORINFOEXA : public tagMONITORINFO
{
CHAR szDevice[CCHDEVICENAME];
} MONITORINFOEXA,*LPMONITORINFOEXA;typedef MONITORINFOEXA MONITORINFOEX;
typedef LPMONITORINFOEXA LPMONITORINFOEX;typedef BOOL (WINAPI GetMonitorInfo) (HMONITOR, LPMONITORINFOEX);
typedef HMONITOR (WINAPI MonitorFromPoint) (POINT, DWORD);VC