shmeeps

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

122 Neutral

About shmeeps

  • Rank
    Newbie
  1. I had a problem with this code yesterday too, the code hr = DirectInput8Create(hInst, DIRECTINPUT_VERSION, IID_IDirectInput8, (void**)&din, NULL); would always fail. I changed it to hr = DirectInput8Create(GetModuleHandle(NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (void**)&din, NULL); and it compiled and ran fine. Hope this helps.