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
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.
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. |
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"
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 )";