lpdi->CreateDeviceEx(GUID_SysKeyboard,IID_IDirectInputDevice7,(void**)&lpdikey, NULL);
the problem is GUID_SysKeyboard the program exits with and unhadled exception and the debugger give me the value of this guid(???-???....)
I have #INITGUID I have included objbase.h and dinput.h
I know I had this problem some year ago too, dunno what I did to solve it thou!
So someone might know what I've forgot to do.
Edited by - Diemonex on December 30, 2001 9:01:24 AM
Theese GUIDs..
I havent made any game specific coding for some years now. But I've decided to make a game as a project in school so this is my first real attempt for a game.
Anyway, Everything is going well cept now when I'm about to use DirectInput I got a little problem.
Btw, Im using Dx7..
You did everything correctly except you have not included dxguid.lib. It is looking for the GUID for your keyboard, but nothing is defined.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement