Vs2008+windows DDK 7 Environment configuration (ii)

Source: Internet
Author: User

On the basis of the first article, the following steps can be made to compile the X64 driver.

(It is recommended that you build another project to avoid confusion, because some of the compilation options for x86 and x64 are different.) )

1. Install the VS2008 x64 build component. If you have not previously installed it, you can follow the steps below to install it:

    1. select Visual Studio and click   Uninstall/change .
    2. wait. Wait some more. click  Next .
    3. CHOOSE  Add or Remove Features .
    4. select  X64 Compilers and Tools .

2. Create a new Win32 empty project, copy the code for the x86 project, and then configure it according to the compilation options for the first article.

3. Select Create from the top menu, Configuration Manager, select New in the Active solution platform drop-down box, select x64 in the new solution platform for the popup box, and select Win32 from the copy settings from here.

Then, in the projects listed below, select the project to compile into x64, select x64 in the drop-down box, and select New if there is no x64.

Note: If you select x64 for the second time, you will be prompted to have this platform, then tick the "Create new platform" option.

4. Select target machine for the "advanced" page of the project Properties "linker": X64 machine.

5. "Register Output" select "No", "Additional Library directory" to change to AMD64 directory in DDK.

After compiling, the x64 sys file is generated. The path is the < project root directory >/x64/release, not the < project root >/release, if Debug is selected, replacing release with Debug is the path to the generated sys.

Vs2008+windows DDK 7 Environment configuration (ii)

Related Article

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.