Igor
Igor

Reputation: 6265

WDK + Windows 8 + MSVC 2010

ALL,

I would like to build a dokan library. According to dokan instruction I need the WDK which can be downloaded from the Microsoft website.

Problem is - I have MSVC 2010 and it looks like WDK is for MSVC 2013 and I don't know what to do.

Could someone explain to me where can I get WDK for MSVC 2010?

Thank you.

Upvotes: 1

Views: 467

Answers (1)

Chuck Walbourn
Chuck Walbourn

Reputation: 41077

The Windows 8.x SDK generally works with Visual Studio 2010--with the exception of a few places in the include\winrt headers where they used C++11 constructs not supported prior to VS 2012, specifically strongly-typed enumerations. The issue is there is no automatic integration for the VS 2010 toolset.

The recommended solution is to use .props files. See the Visual C++ Team Blog for details, and I have the fully authored .props files for both x86 and x64 hosted on my blog. These are also used in my open-source projects (DirectX Tool Kit, DirectXTex, DirectXMesh, UVAtlas, DXUT, Effects 11) which support VS 2010 + the Windows 8.1 SDK.

I believe the situation is basically the same with the Windows Driver Kit 8.x as it actually integrates into the existing Windows 8.x SDK. You will just need to add include\km and lib\km folders to the .props for the kernel mode projects.

That said, with VS 2013 Community edition being freely available full-featured version of Visual Studio under generous license terms, I'm not sure why you are sticking with VS 2010...

Upvotes: 1

Related Questions