header file conflict in VC++6.0[WinXP]
Posted on 2003-11-21
I am attempting to gain access to a USB Device on my PC. I have wrote a simple program in Visual C++ 6.0. The problem is that when I include the "hidsdi.h" header file and compile the program I get numerous errors:
g:\program files\microsoft visual studio\vc98\include\ntstatus.h(52) : warning C4005: 'STATUS_WAIT_0' : macro redefinition
g:\program files\microsoft visual studio\vc98\include\winnt.h(1053) : see previous definition of 'STATUS_WAIT_0'
I presum there is some conflict between the ntstatus.h and the winnt.h files but this only occurs when I include the "hidsdi.h" file.
Any suggestions will be appreciated,