Jump to content
  • Advertisement


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


I got an error msg after compiling

This topic is 5591 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"m having these 3 errors after compiling a basic directdraw program.. Error1: DD1 error LNK2019: unresolved external symbol _DirectDrawCreateEx@16 referenced in function "int __cdecl Init(struct HINSTANCE__ *,int)" (?Init@@YAHPAUHINSTANCE__@@H@Z) Error2: DD1 error LNK2001: unresolved external symbol _IID_IDirectDraw7 Error3: DD1 fatal error LNK1120: 2 unresolved externals What does they mean? I''m using the VC++.net. Is that something wrong with my setting of the project?

Share this post

Link to post
Share on other sites
Looks like you forgot to include the ddraw.lib file in your project. At least I _think_ that''s the name of the file for the direct draw functions, since it was a time since I used it. You also need to #include <ddraw.h> somewhere in your project.

- Patrik Willbo

The Lord says He can get me out of this mess, but He''s pretty sure you''re fucked.
- Stephen (Braveheart)

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!