I developed a driver based on the toaster sample in WDK. It works well at WinXP/Vista/Win7. Now I need the version that can work at Win2K. So, I download the DDK 2003, to build the right version. But it can not build successfully. Who can tell me the right way to do this?
On Mon, May 30, 2011 at 10:33 AM, <disney_cheng> wrote:
> I developed a driver based on the toaster sample in WDK. It works well at WinXP/Vista/Win7. Now I need the version that can work at Win2K. So, I download the DDK 2003, to build the right version. But it can not build successfully. Who can tell me the right way to do this?
Can you provide more details (e.g. error messages/build logs)? Most
likely you are using some DDIs that don’t exist on Win2k platform.
Kris</disney_cheng>
Can you provide more details (e.g. error messages/build logs)? Most
likely you are using some DDIs that don’t exist on Win2k platform.
Kris
Now the error message is cannot find the “dontuse.h” header file. If I don’t include this file, there would be 1472 errors.
On Tue, May 31, 2011 at 2:10 AM, <disney_cheng> wrote:
> Now the error message is cannot find the “dontuse.h” header file. If I don’t include this file, there would be 1472 errors.
“dontuse.h” header contains deprecated functions (mostly for string
manipulation). Since you need it for Windows 2000 I would try to use
WDK version 6001.18002 which should still support W2k build
environment and it should contain “dontuse.h” header.
Kris</disney_cheng>
On Mon, May 30, 2011 at 10:33 AM, wrote:
> I developed a driver based on the toaster sample in WDK. It works well at
WinXP/Vista/Win7. Now I need the version that can work at Win2K. So, I download
the DDK 2003, to build the right version. But it can not build successfully. Who
can tell me the right way to do this?
Can you provide more details (e.g. error messages/build logs)? Most
likely you are using some DDIs that don’t exist on Win2k platform.
Kris
You’re right. All about the DDIs that don’t exist on Win2K platform. Now it can built successfully.