• Advertisement

Archived

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

VC link error

This topic is 5859 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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

  • Advertisement