DirextX7. 0. Precautions for using the SDK in the VC 6.0 environment

Source: Internet
Author: User

DirextX7. 0. Precautions for using the SDK in the VC 6.0 environment

Use the DirectX 6.0 SDK in the VC 7.0 environment. First, install the DirectX 7.0 SDK. Then, include the header file and library file in the Options menu in the Tools menu bar. Then compile JoystImm, an example in the DirectX 7.0 SDK. The LPDIRECTINPUT7 type cannot be identified, specifically: 'lpdirectinput7': missing storage-class or type specifiers.

The original header files include:

 

 

Changed:

 

 

Then re-compile, but there are two compilation errors

Unresolved external symbol _ DirectInputCreateEx @ 20 and unresolved external symbol _ IID_IDirectInput7A

 

Then, the library file is taken from:

 

 

Changed:

 

 

Then re-compile. Compiled and run.

 

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.