Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


DirectInput - Undeclared Identifier

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

I''m having a problem on initializing DirectInput. having included the #include and dinput.lib (directories link). when I complied the program, which is a simple window that accept input from a keyboard, I get this error, error C2065: ''DirectInputCreate'': undeclared identifier any idea way this happen? thanks...

Share this post

Link to post
Share on other sites
I'll bet you're using DirectX8...
Just define this before including the header:


That should do the trick

- Goblineye Entertainment
The road to success is always under construction

Edited by - Tornado on August 2, 2001 5:55:52 AM

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!