Jump to content
  • Advertisement

Archived

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

tosoft

I'm new to DirectX, and I'm having a few problems.

This topic is 6933 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 have Visual C++ 6 and the new Direct X 7.0a SDK. (Lib´s and headerfiles are included) If I want to >>compile some source code from the SDK, the compiler says no error.. but if i want to >>make i got 4 errors: exernal Symbol not dissolved error LNK2001: _DirectDrawCreateEx@16 _IID_IDirectDraw7 _main What does the compiler means, or how can i solve these problems?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
I added ddraw.lib to my project but i have a another problem:

libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/DDStuff1.exe : fatal error LNK1120: 1 unresolved externals

Share this post


Link to post
Share on other sites
I added ddraw.lib to my project but i have a another problem:

libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/DDStuff1.exe : fatal error LNK1120: 1 unresolved externals

Share this post


Link to post
Share on other sites
Looks like you selected a Win32 console application or something, which would need a main() function, but DirectX stuff uses a standard Win32 project which uses WinMain(). Try making a new standard Win32 application project, paste your code in there, and try again.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!