V.S 2015 with WDK 10

Hello,

I installed the following packages in this order:

V.S 2015: Version 14.0.23107.0 D14REL
Windows Software Development kit - Windows 10.0.10586.15
Windows Driver Kit - Windows 10.0.26639

Then I created a new KMDF driver project and tried to build it.

The V.S 2015 can not find ntddk.h
Should I add the path of ntddk.h to the project ?
I think it should be added automatically.

After adding this path, V.S 2015 can not find excpt.h

According to MSDN instructions, I should use V.S 2015 with update 1.
Is it critical ?

The Windows Software Development kit is critical. Without it I got:
An SDK corresponding to WDK version ‘8.1’ was not found

Can you tell what is wrong with my installation ?

Thank you,
Z.V

Should work out of the box.
What type of project did you chose from the project wizard ?
Was it Visual C++ -> WDF -> Kernel Mode Driver (KMDF) ? or what is
something else.
If you just leave the default on, that is platform toolset set to windows
10 wdk should get your driver build and compiled.

Regards,
Gabriel
www.kasardia.com

On Mon, Apr 11, 2016 at 9:08 AM, wrote:

> Hello,
>
> I installed the following packages in this order:
>
> V.S 2015: Version 14.0.23107.0 D14REL
> Windows Software Development kit - Windows 10.0.10586.15
> Windows Driver Kit - Windows 10.0.26639
>
> Then I created a new KMDF driver project and tried to build it.
>
> The V.S 2015 can not find ntddk.h
> Should I add the path of ntddk.h to the project ?
> I think it should be added automatically.
>
> After adding this path, V.S 2015 can not find excpt.h
>
> According to MSDN instructions, I should use V.S 2015 with update 1.
> Is it critical ?
>
> The Windows Software Development kit is critical. Without it I got:
> An SDK corresponding to WDK version ‘8.1’ was not found
>
> Can you tell what is wrong with my installation ?
>
> Thank you,
> Z.V
>
>
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list online at: <
> http://www.osronline.com/showlists.cfm?list=ntdev&gt;
>
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
> software drivers!
> Details at http:
>
> To unsubscribe, visit the List Server section of OSR Online at <
> http://www.osronline.com/page.cfm?name=ListServer&gt;
>


Bercea. G.</http:>

Hi Gabriel ,

This is exactly what I did.
I created: Visual C++ -> WDF -> Kernel Mode Driver (KMDF)

No settings were changed.

Upon rebuild I got the errors.

Thank you for your fast reply,
Z.V

Hmm. I got these errors with a win8 wdk sample.

I want to say that my problems were partially caused by update 2 rc and
went away when I upgraded to the actual update 2, but I could me making
that up.

mm
On Apr 11, 2016 2:35 AM, wrote:

> Hi Gabriel ,
>
> This is exactly what I did.
> I created: Visual C++ -> WDF -> Kernel Mode Driver (KMDF)
>
> No settings were changed.
>
> Upon rebuild I got the errors.
>
> Thank you for your fast reply,
> Z.V
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list online at: <
> http://www.osronline.com/showlists.cfm?list=ntdev&gt;
>
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
> software drivers!
> Details at http:
>
> To unsubscribe, visit the List Server section of OSR Online at <
> http://www.osronline.com/page.cfm?name=ListServer&gt;
></http:>

I have the same, that is VS2015 Update 2 and everything seemed to work out
of the box.
Maybe try to update to that and see if you still have issues. If you do
then either repair your install of VS2015 or just reinstall it VS first and
WDK after. Find some details here:
https://msdn.microsoft.com/en-us/windows/hardware/hh852365.aspx

Regards,
Gabriel.
Windows Driver Consulting
www.kasardia.com

On Mon, Apr 11, 2016 at 11:42 AM, Martin O’Brien <
xxxxx@gmail.com> wrote:

Hmm. I got these errors with a win8 wdk sample.

I want to say that my problems were partially caused by update 2 rc and
went away when I upgraded to the actual update 2, but I could me making
that up.

mm
On Apr 11, 2016 2:35 AM, wrote:
>
>> Hi Gabriel ,
>>
>> This is exactly what I did.
>> I created: Visual C++ -> WDF -> Kernel Mode Driver (KMDF)
>>
>> No settings were changed.
>>
>> Upon rebuild I got the errors.
>>
>> Thank you for your fast reply,
>> Z.V
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> Visit the list online at: <
>> http://www.osronline.com/showlists.cfm?list=ntdev&gt;
>>
>> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
>> software drivers!
>> Details at http:
>>
>> To unsubscribe, visit the List Server section of OSR Online at <
>> http://www.osronline.com/page.cfm?name=ListServer&gt;
>>
> — NTDEV is sponsored by OSR Visit the list online at: MONTHLY seminars
> on crash dump analysis, WDF, Windows internals and software drivers!
> Details at To unsubscribe, visit the List Server section of OSR Online at


Bercea. G.</http:>

My 2 cents.
The latest versions I see today are as follows.
VS 2015 10.0.24720.00 (Win10 TH2)
WDK 10.0.10586.0 (Win10 TH2)

You don’t need to install SDK separately, just select it while installing VS.

If it doesn’t works, try resetting your environment.
“Tools->Import and Export Settings->Reset all settings”.
Make sure u select Visual C++ as default.

Hello Virenda,

Is update 1\2 for V.S 2015 critical ?

Thank you,
Zvika

VS 2015 RTM had some issues and the one affecting me was Intellisence not working for .c file. Update 1 fixed that and is running smooth. I am downloading Update 2 now. Will update once I install it.

The cause to the problem is the offline installations.
My PC is not connected to the internet.
I installed V.S 2015, then update 1 and then SDK 10, WDK 10.

When I installed V.S 2015 express (with update 2) and WDK 10 in an online PC,
it worked out of the box.

You definitely want to install and use Update 2. It fixes several problems.

Peter
OSR
@OSRDrivers