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

Linking DirectInput3 with C++ Builder Problems

This topic is 5824 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 am trying to compile an OpenGL program that uses DirectInput under C++ Builder (I was previously using MSVC++ 6.0), but am having trouble. I converted the DX8-supplied dinput.lib using the supplued COFF LIB file conversion tool, then did an "add to project" with that LIB. My main directinput code linking (DirectInput3) problems went away (linking problems), but I''m still getting: unresolved external: _c_dfDIKeyboard referenced from "blah...." unresolved external: _c_dfDIMouse referenced from "blah...." These are some type of constants used by DirectInput, but oddly, adding dinput.h and dinput.lib to the project didn''t solve the problem. Any thoughts would be appreciated! Thanks.

Share this post

Link to post
Share on other sites