Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Need a little help...


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Soul Blade   Members   -  Reputation: 122

Like
Likes
Like

Posted 10 October 2001 - 06:12 PM

I''m just starting out in DX, and using visual C++ 6...following some tutorials on initializing DX an everything, but when I try to build the exe, it has this error... I know, I need to go configure it for DX, I already downloaded mssdk and all that, and from what I see its configured perfectly. Heres the error message in the debug window: --------------------Configuration: modetest - Win32 Debug-------------------- Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/ddinit.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. modetest.exe - 2 error(s), 0 warning(s) May seem kind of basic, but I don''t know...I''m fast with learning code, but not with this debugging stuff, why I''m posting in beginners area Your help is much appreciated.

Sponsor:

#2 Oluseyi   Staff Emeritus   -  Reputation: 1678

Like
Likes
Like

Posted 10 October 2001 - 06:16 PM

You created a Windows console application when you should have created a Win32 Application. Create the new workspace and add all your existing files, then rebuild.

Console applications define main() as their entry point while Win32 apps enter at WinMain().

#3 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 10 October 2001 - 06:22 PM

quote:
Original post by Oluseyi
You created a Windows console application when you should have created a Win32 Application. Create the new workspace and add all your existing files, then rebuild.

Console applications define main() as their entry point while Win32 apps enter at WinMain().



Ok I''ll try that.


#4 Soul Blade   Members   -  Reputation: 122

Like
Likes
Like

Posted 10 October 2001 - 06:30 PM

It seems that that works. Thank you...




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS