Original Post
Hi, I've got a problem with debugging while using DirectInput. Initializing the LPDIRECTINPUT8 object works fine but when I add these 4 lines to the code (initializing the keyboard): and start debugging and click 'Break All', a messagebox 'No symbols are loaded for any call stack frame. [depressed] The source code cannot be displayed.' appears (oh, I didn't mention I use VC++ 2008 EE). When I run it in the release mode, I can even update the keyboard, update the mouse, do just everything and it works ok. But I can't debug it! I tried setting Debug mode in the DX Control Panel but it doesn't help. Are you having any difficulties debugging with DirectInput or it's only me? Any suggestions? [sad] Thanks in advance
Input.GetInput ()->CreateDevice (GUID_SysKeyboard, &m_lpDIDevice, NULL);
m_lpDIDevice->SetDataFormat (&c_dfDIKeyboard);
m_lpDIDevice->SetCooperativeLevel (Window.GetHWND (), DISCL_FOREGROUND | DISCL_NONEXCLUSIVE);
m_lpDIDevice->Acquire ();