Archived

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

Owie

Windows linker error

Recommended Posts

Owie    122
I am using Visual C++ 5. and I get the errors: IBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/Windows Main.exe : fatal error LNK1120: 1 unresolved externals Is this part of my code or is it my project settings? thnx

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
Make sure you create a win32 application and not a console app.

Share this post


Link to post
Share on other sites
jwalker    122
missing main ??

either main(int,char**)

or

WinMain(HINSTANCE,HINSTANCE,LPSTR,int)

depends on the project type and lib settings .

{ Stating the obvious never helped any situation !! }

Share this post


Link to post
Share on other sites