Original Post
what is wrong here
DirectInput8Create(m_hinstance, DIRECTINPUT_VERSION,IID_IDirectInput8, (void**)&m_lpdi, NULL);
m_lpdi->CreateDevice(GUID_SysKeyboard, &m_lpdidevice, NULL);
m_lpdidevice->SetDataFormat(&c_dfDIKeyboard);
because it makes this
Unhandled exception at 0x004139ee in fuckinframewerk.exe: 0xC0000005: Access violation reading location 0x00000000.
exactly at calling
m_lpdi->CreateDevice()
i assume the problem is at directinput8create () that it doesnt return me the right m_lpdi
i ''ll appreciate any help
thanx for ur time
