How to compile the WDM driver in vc6.0

Source: Internet
Author: User
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!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.