error C2065: 'MONITORINFOEX' : undeclared identifier

I am trying to port a project from VC++ 6 to Visual Studio 2003, but get this error when trying to compile.

The include directory order is: DXSDK (9.0), Platform SDK (latest version) then the standard Visual Studio includes. I can see MONITORINFOEX defined in multimon.h in the DXSDK include path, why does the compiler think it is undeclared



Answer this question

error C2065: 'MONITORINFOEX' : undeclared identifier

  • error C2065: 'MONITORINFOEX' : undeclared identifier