• Advertisement

Archived

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

Error linking in VC++. What should I do?

This topic is 6342 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

I was using VC++ 6 Ent. I had compiled a DirectDraw7 example file, but after compiled there were some error when linking objects. Debug window said: example.obj:error LNK2001: unresolved external symbol _DirectDrawCreate@16 example.obj:error LNK2001: unresolved external symbol _IID_IDirectDraw7 LIBCD.lib(crt0.obj):error LNK2001: unresolved external symbol _main what shoud I do? I can do ''furthure'' learning with those errors Would you PLEASE helping me? Thx

Share this post


Link to post
Share on other sites
Advertisement
Go to Project Settings on the Project menu. Under the linker tab, add ddraw.lib. Read your compiler docs.

Share this post


Link to post
Share on other sites

  • Advertisement