Can anyone tell me why (using DX8) when trying to set up DirectInput in Borland C++ Builder 5 I get an 'unresolved external _c_dfDIKeyboard ...' error? I can't compile examples that came with the sdk too. The same error![]()
This is a discussion on DirectInput and BCB5 within the Game Programming forums, part of the General Programming Boards category; Can anyone tell me why (using DX8) when trying to set up DirectInput in Borland C++ Builder 5 I get ...
Can anyone tell me why (using DX8) when trying to set up DirectInput in Borland C++ Builder 5 I get an 'unresolved external _c_dfDIKeyboard ...' error? I can't compile examples that came with the sdk too. The same error![]()
You may not be linking to the correct library or you did not install DX8 properly. These are all guesses as I have not used DX before, but those two suggestions I mentioned tend to be common problems with most APIs.
Everything else works fine. The only problem I had is that the libraries were in COFF format (BCB uses OMF) and I had to convert them. I'll search the net for some compatbile libraries
Sorry I didn't reply sooner.
Since c_dfDIKeyboard is a global variable I was wondering also
how you would access it from a dll if you are using LoadLibrary?
I'm not using LoadLibrary function. I'm linking to direct input import library.
If anyone wants to know where to find all DX8 BCB compatible libraries, here's the url: http://www.geocities.com/foetsch/borlibs