When I try to compile I get:
1>------ Build started: Project: usbhidioc, Configuration: Debug Win32 ------
1>Compiling...
1>StdAfx.cpp
1>c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\afx.h(18) : warning C4005: '_AFXDLL' : macro redefinition
1> command-line arguments : see previous definition of '_AFXDLL'
1> WINVER not defined. Defaulting to 0x0600 (Windows Vista)
1>c:\program files\microsoft sdks\windows\v7.0\include\zmouse.h(141) : error C2146: syntax error : missing ';' before identifier 'HwndMSWheel'
1>c:\program files\microsoft sdks\windows\v7.0\include\zmouse.h(141) : error C2433: 'HWND' : 'inline' not permitted on data declarations
1>c:\program files\microsoft sdks\windows\v7.0\include\zmouse.h(141) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v7.0\include\zmouse.h(142) : error C2065: 'PUINT' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v7.0\include\zmouse.h(142) : error C2146: syntax error : missing ')' before identifier 'puiMsh_MsgMouseWheel'
1>c:\program files\microsoft sdks\windows\v7.0\include\zmouse.h(142) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v7.0\include\zmouse.h(147) : error C2059: syntax error : ')'
1>c:\program files\microsoft sdks\windows\v7.0\include\zmouse.h(148) : error C2143: syntax error : missing ';' before '{'
1>c:\program files\microsoft sdks\windows\v7.0\include\zmouse.h(148) : error C2447: '{' : missing function header (old-style formal list?)
1>c:\program files\microsoft sdks\windows\v7.0\include\prsht.h(97) : error C2065: 'CALLBACK' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v7.0\include\prsht.h(97) : error C2065: 'LPFNPSPCALLBACKA' : undeclared identifier
1>c:\program files\microsoft sdks\windows\v7.0\include\prsht.h(97) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\program files\microsoft sdks\windows\v7.0\include\prsht.h(97) : fatal error C1903: unable to recover from previous error(s); stopping compilation
1>Creating browse information file...
1>Microsoft Browse Information Maintenance Utility Version 9.00.21022
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>BSCMAKE: error BK1506 : cannot open file '.\Debug\usbhidioc.sbr': No such file or directory
1>Build log was saved at "file://c:\Users\mcs\cpp\usbhidio_vc6\Debug\BuildLog.htm"
1>usbhidioc - 14 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========