• Advertisement
Sign in to follow this  

DInput doesn't like my LPDIRECTINPUT8

This topic is 4471 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

A few months ago I downloaded the latest directX 9 SDK, the april 2005 edition. Prior, I've just been using DX5 until I started to run into some unsupported problems compelling me to update. I never checked to see if any of my code would compile. I get an error on this line:
LPDIRECTINPUT8        lpdi;
with these errors:
error C2146: syntax error : missing ';' before identifier 'lpdi'
error C2501: 'LPDIRECTINPUT8' : missing storage-class or type specifiers
fatal error C1004: unexpected end of file found
I notice that those errors go away if I take out my latest SDK from my compilers list of directories, but then I'd have to revert back to DInput 5. It would intuitively seem that I'm missing a semicolon on the line above, but I'm not. This may be a common problem, but I can't find a solution.

Share this post


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

  • Advertisement