Original Post
so.... After many hours of sitting in front of my LCD Screen... staring at the debugger in MSVC++ i figured it out... thanks to evil steve and DXnut and whoever else posted in reply to my last two shouts for help... it wasnt a problem with the directinput objects it was with HINSTANCE... it couldent get a handle on the instance of the window... so in CreateDInput() I changed it from this: to... everything is up and running now... THANKS SO MUCH GUYS!!! This forum Rocks! Long live Gamedev.net! woot! SilverKnight
if(FAILED(DirectInput8Create(cSys1.m_hWnd, DIRECTINPUT_VERSION,
IID_IDirectInput8, (void**)&m_pInput, NULL)))
{
return FALSE;
}
if(FAILED(DirectInput8Create(GetModuleHandle(NULL), DIRECTINPUT_VERSION,
IID_IDirectInput8, (void**)&m_pInput, NULL)))
{
return FALSE;
}