How to: Use Visual C ++ quick build with Microsoft platform SDK

Source: Internet
Author: User
How to: Use Visual C ++ quick build with Microsoft platform SDK

After installation, you can immediately use visual c ++ 2005 to generate a powerful. NET Framework application. To use visual c ++ to generate a Win32 application, you only need to take a few steps. The following describes in detail.

Install the Platform SDK in combination with Visual C ++ quick build
  1. Install Microsoft platform SDK from the platform SDK Update site on the web. Install at least the Windows core SDK. However, some examples use other functions in the SDK. Therefore, we recommend that you complete the installation.

  2. Select "option" from the "Tools" menu in Visual Studio ". The "options" dialog box appears.

    In the "options" dialog box, expand the "project and Solution" node and select "VC ++ directory ". In this section, add the following path to the corresponding subsection:

    • Executable file:C: \ Program Files \ microsoft SDK \ bin

    • Include files:C: \ Program Files \ microsoft SDK \ include

    • Library file:C: \ Program Files \ microsoft SDK \ Lib

    Note:

    In your system, the Platform SDK location may be different.

  3. Update corewin_express.vsprops file (in % vsinstalldir % \ Vc \ vcprojectdefaults) and set the string:

    Additionaldependencies = "kernel32.lib"

    Changed:

    Additionaldependencies = "kernel32.lib user32.lib gdi32.lib winspool. Lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib UUID. lib"

  4. Update the default. js file (located in % vsinstalldir % \ Vc \ vcwizards \ appwiz \ Generic \ Application \ scripts \ 1033) and merge the following two lines:

    Linktool. additionaldependencies = "kernel32.lib $ (noinherit )";

    Changed:

    // Linktool. additionaldependencies = "kernel32.lib $ (noinherit )";

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.