Original Post
I am new to Direct Input and am having some trouble. In Visual C++, I keep getting the following errors: error LNK2001: unresolved external symbol _c_dfDIKeyboard error LNK2001: unresolved external symbol _GUID_SysKeyboard error LNK2019: unresolved external symbol _DirectInput8Create@20 referenced in function _InitializeDirectInput error LNK2001: unresolved external symbol _IID_IDirectInput8W Here are the include files/libraries I include in the project: #include #include #include #pragma comment (lib, "dinput8.lib") #pragma comment (lib, "dxguid.lib") I've come across references in DirectInput tutorials to a "dinput.lib" library, but the June 2008 DirectX SDK doesn't have it. Could that be the problem? (Also, I've verified I have "dinput8.dll" and "dinput.dll" in my system folder)