Skip to main content
gamedev.net
🔒 Locked

DirectInput

Started by PPrice 1 reply 250+ views
Original Post
PPrice
PPrice
Good afternnon ladies and gentlemen, I am trying to get back into DirectX programming after a long spell and i fear that i have forgotten a lot! I am getting the following link error Linking... Creating library Debug/DirectXLib.lib and object Debug/DirectXLib.exp DInput.obj : error LNK2001: unresolved external symbol _IID_IDirectInput8A Debug/DirectXLib.dll : fatal error LNK1120: 1 unresolved externals This rings bells for me, but those bells are not yet playing a tune. Can anyone help me out with this! I have the libary file and header declared in the stdafx.h file along with the DIRECTINPUT_VERSION Thanks Paul Price
Dave Hunt
Dave Hunt
Are you including dxguid.lib in your link files?
PPrice
PPrice
Its alright,

I sussed it, found an old project in which i had done similar.

I forgot to include half the libaries and headers!!

Thanks anyway

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.