after i've created the input
Code:
  DirectInput8Create(GetModuleHandle(nil),DIRECTINPUT_VERSION,IID_IDirectInput8,m_pDInput,nil);
i need to create a device right? so here it goes:

Code:
m_pDInput.CreateDevice(GUID_SysKeyboard, ?!?!?!?!?!?!?, NIL);
on the ?!?!?!?!? place i cant seem to understand what should stand

ou and one last thing the variable should be like this, right?-> m_pDInput : IDirectInput;

i am using clootie dx9 headers