DirectInput Problems

Started by
1 comment, last by jms 22 years, 3 months ago
I''m running WIN2K Pro, DX 8.1, and i keep getting errors when trying to initialize the input system. It can''t seem to resolve the DirectInput Interface Identifier. Here''s the error message from the compiler: InputSystem.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A Any ideas how to solve this? I have tried compiling unchanged code from Prima-Tech''s OpenGL Game Programming book, and Shining Knights Game Tutorial 1, both of which give exactly the same error. Any help would be appreciated.
Advertisement
Try adding dxguid.lib to your workspace. I think that resolves the ID linking problems.
Nice!

Thanks for putting me on the right track.
It was actually linked properly, but the problem was
that I was using the incorrect version of the Direct
Input files. Seems like my install of DX8 SDK didn''t
install the files in VC++ correctly.

Cheers

This topic is closed to new replies.

Advertisement