Vc6.0 use driverwizard. awx to configure the DDK driver compiling environment

Source: Internet
Author: User

 

Turn from see snow: http://bbs.pediy.com/showthread.php? T = 63623

 

You can configure it without using DS. vc6 and other environments have not been tried... DS cannot be downloaded at the beginning, so only build is used ..
The method is to use driverwizard. awx in Wang Yanping's book.
1. Copy driverwizard. awx to D: \ Microsoft Visual Studio \ common \ msdev98 \ template. A driver wizard project is added when the project is created.

2. In the tool-> options-> directiories in VC, add the DDK search path to it.
Add the following to the executable file:
D: \ winddk \ 3790.1830 \ bin \ x86, put it at the beginning
Add
D: winddk \ 3790.1830 \ Inc \ wxp
D: \ winddk \ 3790.1830 \ Inc \ DDK \ wxp
D: winddk \ 3790.1830 \ Inc \ CRT
It should also be placed at the beginning
Add the following to the Lib file:
D: winddk \ 3790.1830 \ Lib \ wxp \ i386

3. Add an environment variable ddkroot. The content is the Directory D: \ winddk \ 3790.1830 installed by your DDK.

Now we can compile the driver in IDE,
During the compilation phase, you only need to put the search path of the EXE file directory to the end.
I have been pondering for a while.

 

PS: The driverwizard. awx file can be found in the Code provided by Wang Yanping.

Windows 2000 DDK: http://www.vckbase.com/tools/drv/win2kddk.exe

Windows xp ddk: http: // 210.21.117.86/down/OCX/winxpddk.zip or FTP: // 202.114.12.60/development tool/DDK/ddk_xp.iso

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.