Damnit Microsoft! Direct Input?!

This is a discussion on Damnit Microsoft! Direct Input?! within the Game Programming forums, part of the General Programming Boards category; I would like to add DirectInput to my app... Well..... To create a DirectX 8.x interface with the DirectX 9.0 ...

  1. #1
    Deo
    Deo is offline
    Registered User
    Join Date
    May 2005
    Posts
    73

    Damnit Microsoft! Direct Input?!

    I would like to add DirectInput to my app...

    Well.....

    To create a DirectX 8.x interface with the DirectX 9.0 software development kit (SDK) without using CoCreateInstance :

    Set "#define DIRECTINPUT_VERSION 0x0800" before the include statement for Dinput8.h.
    Call DirectInput8Create instead of DirectInputCreateEx.
    Link to the Dinput8.lib library instead of Dinput.lib.
    dinput8.lib =

    Linking...
    dinput8.lib(dilib2.obj) : fatal error LNK1103: debugging information corrupt; recompile module
    Error executing link.exe.
    Tried to do some searching and is this a problem with MvC 6.0? thats what my compiler is...

    great DirectX = Microsoft.. yet their ........ doens't work with their own compiler... how nice..

    anyways what do i do?

    also i thought i saw somewhere that i should include dinput8.h yet i only have dinput.h

    whats going on?

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Are you using DirectX9 for everything else? I've never gotten that error before but you might try playing with the debug-info format:

    Project Settings->C++->Debug Information Format

    Can you build in release configuration?

    Make sure you have the latest service pack for VC6 , I believe they are up to Service Pack 6.

    You can try getting the latest DirectX SDK (April 2005). I don't know which version you are running but some of them had some problems that eventually got fixed, so either go forward or backwards in the version and that might fix it.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Deo
    Deo is offline
    Registered User
    Join Date
    May 2005
    Posts
    73
    Quote Originally Posted by MrWizard
    Are you using DirectX9 for everything else? I've never gotten that error before but you might try playing with the debug-info format:
    YES.

    Can you build in release configuration?
    NO

    Make sure you have the latest service pack for VC6 , I believe they are up to Service Pack 6.
    Guess this could be the problem.. doubt I have SP6

    You can try getting the latest DirectX SDK (April 2005). I don't know which version you are running but some of them had some problems that eventually got fixed, so either go forward or backwards in the version and that might fix it.
    Yep got April 2005.. downloaded about a week ago.. as for going forward or backward a version.. I don't think my ........ty 56k modem would take kindly to that.. nor would my patience..

    Strange.. kinda sucks as I'm just deadlocked becasue of this issue.. just sit and twiddle my thumbs..

  4. #4
    Deo
    Deo is offline
    Registered User
    Join Date
    May 2005
    Posts
    73
    Hmmm..

    Also, if you're using VC++6, it is not supported starting from the December 2004 SDK, so you either have to upgrade, or use another SDK (Like the October 2004 SDK with the extras package that comes with it).
    If this is true I'm gonna kill myself...

    Heard that extras download for October Release will fix my problem.. so I got to download it.. hey its just the extras that didn't come with October 2004 SDK.. should be small right?

    63 MB download for a ........ing dinput8.lib file that is 120 KB .... godamn you MICROSOFT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!

    (56k modem)
    life sucks...
    think i'm just gonna give up..
    Last edited by Deo; 06-08-2005 at 01:31 PM.

  5. #5
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Maybe you should look into downloading one of the free compilers from Microsoft? Then you could use an open-source IDE with it? I mean, you're obviously upset about VC6, so why not take steps to change it?
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. can someone help me with these errors please code included
    By geekrockergal in forum C Programming
    Replies: 7
    Last Post: 02-10-2009, 01:20 PM
  2. For loop problems, input please.
    By xIcyx in forum C Programming
    Replies: 2
    Last Post: 04-22-2007, 03:54 AM
  3. Microsoft Visual C++ ? graphics DIRECT X???
    By NNTB in forum C++ Programming
    Replies: 1
    Last Post: 11-21-2001, 01:40 AM
  4. Retaliation towards witch king\microsoft
    By Koshare in forum Linux Programming
    Replies: 7
    Last Post: 10-19-2001, 04:54 AM

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