DirectInput and BCB5

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 ...

  1. #1
    Mr. Bitmap
    Guest

    DirectInput and BCB5

    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

  2. #2
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    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.

  3. #3
    Mr. Bitmap
    Guest
    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.

  4. #4
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    Since c_dfDIKeyboard is a global variable I was wondering also
    how you would access it from a dll if you are using LoadLibrary?

  5. #5
    Mr. Bitmap
    Guest
    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

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21