1: Environment
Vc6.0 + DDK + ddappwiz. awx, which is installed in the preceding sequence, and vc6.0 is to be installed in the root directory, and the file ddappwiz. awx needs to be copied to the Microsoft Visual Studio // common // msdev98 // bin // ide directory.
You can compile and compile the driver in the VC environment.
PS:
1 file ddappwiz. awx is from the supporting CD of art Baker Jerry Lozano in the Guide to the Windows 2000 Device Driver book, A Guide for programmers, and second edition. After using this file, you do not need to set the environment variables for DDK. However, you must add tools in VC> Options> dirctarys> include files to the ntddk/INC directory, and put it in front.
2 DDK is a free development kit and tool from Microsoft's website.
3. Compile the sample code in DDK as follows: Create an empty Win2k device driver project. add the c file to soucefiles ,. add the H file to headfiles, and add the makefile and sources files to resourcefiles. Build-> batch build... -> Build all. VC itself does not have the option to directly develop VxD/WDM projects.
Solution:
1. Numbench. DriverStudio. v2.5 is used to develop VxD/WDM.
2. Use other patches ddappwiz. awx;
Then copy
... Microsoft Visual Studio/common/msdev98/bin/IDE/
In this directory, start VC and you will see several new engineering options, one of which is "w2k device driver". I think this is what you need. At the same time, do not miss w2kddk (you can tell you where to download this item !) Ah!