Advertisement

Need a little help...

Started by October 11, 2001 12:12 AM
2 comments, last by Soul Blade 23 years, 2 months ago
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.
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().
Advertisement
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.
It seems that that works. Thank you...

This topic is closed to new replies.

Advertisement