|
From: Pete B. <pb...@gm...> - 2010-01-19 13:02:14
|
On 2010.01.19 12:57, Xiaofan Chen wrote: > Yes that is common. Actually for other WinUSB based > examples (like the ones from Microchip), I will need to add > inc\api, inc\ddk, incinc\wdf\umdf\1.9 to the project settings. And I just found out that there is another sdkddkver.h in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include\, which doesn't contain the Windows 7 WINVER definitions, as opposed to the one in the latest DDK, so I think I'll leave the #include <api/sdkddkver.h> as it is as well. It seems there's no escaping being extra careful about includes and include directories in MSVC... /Pete |