Can I run running a drive compiled using windows 7 DDK on windows 2012 r2/2016

I am new to driver development.
I would like to know if a driver compiled using windows 7 DDK can be used on windows 2012 R2 and beyond.
Or I have to migrate to windows 8.1 WDK.

There is no change in functionality.
Should I expect any major run time issues on windows 2012 R2 and windows 2016.

Thanks.

Yes, you can. Windows kernel API is backward compatible. As for me i was
compiling drivers with Windows 7 DDK also a long time ago. Now i use
Windows 8.1 WDK. I’m running compiled drivers on Windows XP and higher and
they work well.

1 нояб. 2016 г. 4:35 PM пользователь написал:

> I am new to driver development.
> I would like to know if a driver compiled using windows 7 DDK can be used
> on windows 2012 R2 and beyond.
> Or I have to migrate to windows 8.1 WDK.
>
> There is no change in functionality.
> Should I expect any major run time issues on windows 2012 R2 and windows
> 2016.
>
> Thanks.
>
> —
> NTFSD is sponsored by OSR
>
>
> 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:>

There might be issues with DriverVerifier which will blame the driver for allocating from pool with code execution allowed for allocated pages.

Is that a problem? You can’t use NonPagedPoolNx?

As for DriverVerifier i have it enabled while developing all the time.

2016-11-02 3:28 GMT+03:00 :

> There might be issues with DriverVerifier which will blame the driver for
> allocating from pool with code execution allowed for allocated pages.
>
> —
> NTFSD is sponsored by OSR
>
>
> 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:>

thanks all.

The specific query I have is, I see that a driver compiled using win7 DDK works fine on windows 2008 r2 but I see random bugchecks on windows 2012 R2.

the bugcheck is raised because FltGetStreamContext throws an exception (which it is not supposed to).

Would the DDK version be a problem here and should I use the latest DDK?

FltGetStreamContext can throw an exception because of wrong arguments you
passed. NULL pointer for example. Having considered FltGetStreamContext is
statically linked, theoretically there can be a problem if implementation
of version you use differs from more recent one.

Would the DDK version be a problem here and should I use the latest DDK?

You just can test it by yourself to see would it solve the problem or not.

You need to diagnose the crash and provide more details. I would say that it
is highly unlikely that this is a build environment issue.

-scott
OSR
@OSRDrivers

wrote in message news:xxxxx@ntfsd…

thanks all.

The specific query I have is, I see that a driver compiled using win7 DDK
works fine on windows 2008 r2 but I see random bugchecks on windows 2012 R2.

the bugcheck is raised because FltGetStreamContext throws an exception
(which it is not supposed to).

Would the DDK version be a problem here and should I use the latest DDK?