DirectInput Problem
We''re using DirectX 8.1. In our "engine" we made some DirectInput components, and this worked just fine. Now it has been a while since we opened the project, and suddenly we get al sorts of errors regarding DirectInput!
Some of the errors:
error LNK2001: unresolved external symbol _GUID_SysMouse
error LNK2001: unresolved external symbol _GUID_SysKeyboard
error LNK2001: unresolved external symbol _IID_IDirectInput8A
Etc.
There was installed a DX9 SDK. We''ve removed this one and installed the DX8.1 SDK again. Could this have anything to do with our problems?
Thnx
Are you sure you included the libraries dinput8.lib? But if it worked before you probably did. If it worked before and it doesn''t now, IMO it must be the SDK install..
Yup the lib is included... so it can''t be that, it''s also exactly the same version, that''s why we don''t know whats wrong..
quote:Original post by BlueLagoon
We''re using DirectX 8.1. In our "engine" we made some DirectInput components, and this worked just fine. Now it has been a while since we opened the project, and suddenly we get al sorts of errors regarding DirectInput!
Some of the errors:
error LNK2001: unresolved external symbol _GUID_SysMouse
error LNK2001: unresolved external symbol _GUID_SysKeyboard
error LNK2001: unresolved external symbol _IID_IDirectInput8A
Etc.
There was installed a DX9 SDK. We''ve removed this one and installed the DX8.1 SDK again. Could this have anything to do with our problems?
Thnx
It can''t find the definitions for these functions in the libraries/headers. DirectX 8 libraries are not installed...
Clue... _IDirectInput8A
Reinstalling DX8.1 should have fixed it. Manually uninstall DirectX SDK then reinstall DX8.1 to ensure there are no conflicts.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement