Reputation: 83
After switching from a working C++\CLI project on VS12 (update4) platform toolset v110 to v110_xp my build fail on not finding winusb.h.
I can see that in the working project the file founded by the compiler at: C:\Program Files (x86)\Windows Kits\8.0\Include\um\Winusb.h
I can also see that in the original VS10 project the file was found at: C:\WinDDK\7600.16385.1\inc\ddk\Winusb.h
Any idea? Help?
Thanks,
Eyal
Upvotes: 1
Views: 467
Reputation: 83
Copy the WinUsb.h and the WinUsbIO.h from WinDDK\7600.16385.1\inc\ddk to the project directory and add the missing typedefs needed by the compiler to the WinUsb.h.
I did it by taking the type name and Google it, and copy the definition to the file.
After all that I the project is built and running on XP!!
Upvotes: 1