Thread View: att.lang.c++
2 messages
2 total messages
Started by Hakan Venderlof
Sat, 04 Sep 1999 00:00
Error: Unresolved external '_main'
Author: Hakan Venderlof
Date: Sat, 04 Sep 1999 00:00
Date: Sat, 04 Sep 1999 00:00
11 lines
911 bytes
911 bytes
Hello While compiling a program I get this error: Linking C:\C++_source\BOX.exe Error: Unresolved external '_main' referenced from D:\BC5\LIB\COX32.OBJ Could someone explain what it means... (I use Borland 5.02) -- *** greetings grok sweden ***
Re: Error: Unresolved external '_main'
Author: Bart and Debbie Crane
Date: Mon, 06 Sep 1999 00:00
Date: Mon, 06 Sep 1999 00:00
24 lines
1332 bytes
1332 bytes
Normal C programs expect a function named main, unless you are writing a Windows program, in which case you need a function named WinMain. If you are using Borland's Integrated Development system, then you have probably created a new project that builds a straight dos/unix type of program, and you are want to build a windows program. Start a new project, looking out for where it asks the kind of program: dll, application, console. Hakan Venderlof wrote: > Hello > While compiling a program I get this error: > > Linking C:\C++_source\BOX.exe > Error: Unresolved external '_main' referenced from D:\BC5\LIB\COX32.OBJ > > Could someone explain what it means... > > (I use Borland 5.02) > -- > *** greetings grok sweden ***
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads