Archived

This topic is now archived and is closed to further replies.

Yang

VC link error

Recommended Posts

Yang    122
When I do this: DirectInput8Create(GetModuleHandle(NULL), DIRECTINPUT_VERSION, IID_IDirectInput8A , (void**)&g_lpDI, NULL); it gives me the following error message: error LNK2001: unresolved external symbol _IID_IDirectInput8A fatal error LNK1120: 1 unresolved externals Why?? I am new to VC++ 6.0, thanks.

Share this post


Link to post
Share on other sites
WildWest    184
I think you have to add the DX8 *.lib-files to your project settings. When I remember it correctly it is Project/Setting... and than choose the "Linker" card. There you have to add the *.lib files.



The Wild Wild West - Desperado!

Share this post


Link to post
Share on other sites
samosa    122
hi, i have finished coding my first DirectX program, and there were alot of errors, i fixed most of them but i am stumped on the last one, if anyone can help it would be appreciated

LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16



,Matt

-= kill one your a murderer, kill thousands your a conquerer =-

Share this post


Link to post
Share on other sites