?
Solved

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

Posted on 2003-02-28
2
Medium Priority
?
528 Views
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

c_dfDIKeyboard
c_dfDIMouse
DirectInput8Create

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

These are the additional libs in my projects properties:
d3dx9dt.lib
d3d9.lib
winmm.lib
dxguid.lib  
comctl32.lib

what am I missing?
0
Comment
Question by:Krip
[X]
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
2 Comments
 
LVL 2

Expert Comment

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

Accepted Solution

by:
Veddartha earned 150 total points
ID: 8228925
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/input/ref/functs/directinput8create.asp

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.
0

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