Jump to content
  • Advertisement
Sign in to follow this  
Stevieboy

help initialise DInput under dx 9.0b

This topic is 5038 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, can any one help me to get dinput working with dx 9. The error message I'm getting is that the CREATE8 function (the one which initialises direct input), is undefined. I thought it was something I was doing wrong, but I even tried out the "scrawl" program from the sdk and that gave the exact same error. I've done all the things I've found on the boards including defining direct 8, defining initguid, making sure I have the right lib files, but it still doesn't work. I'm using directx 9.0b, windows xp and msvc 6.0. Thanks very much.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
CREATE8 ??
I thought it was IDirectInputDevice8::CreateDevice, or am I getting confused with something else?

in general if you are getting problems in the compiler, theres something wrong with you .h files, if you are getting them in the linker, theres something wrong with your .lib files, of course this is assuming you are using a function that exists and is spelled right

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
also make sure that its not compiling with the old dx sdk thats included with msvc 6, that will cause a lot of problems. make sure the dx9 include and lib dirs are at the top of the list in the tools->options->directories include/lib config page

Share this post


Link to post
Share on other sites
Thanks sorry about the function name, I have to run backward and forward between computers, my own one isn't on line, and I forgot the name of it. I'll go and try what you said.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!