Jump to content
  • Advertisement


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


directdraw in VC++ 6

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

Hi i was wondering if anyone might know the cause of this error and how to fix it. I''m running VC++ 6.0 and have the November 2001 Edition of the Microsoft® Platform Software Development Kit (SDK). Any help would be greatly appreciated geordie Linking... LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16 Debug/k.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.

Share this post

Link to post
Share on other sites
Your project in MSVC is set up for a "Win32 Application".

All Win32 applications have a function called WinMain() which is the central entry/start point when the program is run.

It seems that none of the source code files in your project have a WinMain function!

If the application is meant to be a console application (i.e. your entry/start function is called "main"), then you should recreate the project and instead of selecting "Win32 Application", select "Win32 Console Application".

Simon O''Connor
Creative Asylum Ltd

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!