can't link... porting from dx8 to dx9

Posted on 2003-02-28
Medium Priority
Last Modified: 2012-08-13
I changed everything needed to be changed in the code... and now I am left with the linker error:
'unresolved external symbol' for the identifiers


From what I gathered there is no DInput9 so I should keep working with 8.

These are the additional libs in my projects properties:

what am I missing?
Question by:Krip
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 8073682
dinput8.lib (if there is none in DX9)

Accepted Solution

Veddartha earned 150 total points
ID: 8228925

To create a DirectX 8.x interface with the DirectX 9.0 software development kit (SDK) without using CoCreateInstance:

1) Set "#define DIRECTINPUT_VERSION 0x0800" before the include statement for Dinput8.h.
2) Call DirectInput8Create instead of DirectInputCreateEx.
3) Link to the Dinput8.lib library instead of Dinput.lib.

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month12 days, 22 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question