Hi,
I am working in a migration project from VC++6 to VC++9. I am using Custom Enum in a VC++9 project causes a compilation error as it is duplicating with mfc base class winuser.h.
Sample code:-
enum CHKTYPE{ INPUT, READER, BOTH_IR };
Error:-
error C2365: 'INPUT' : redefinition; previous definition was 'typedef'.
c:\program files\microsoft sdks\windows\v6.0a\include\winuser.h(5292) : see declaration of 'INPUT'
This is not a problem with VC++6.