help

P

patrick

beginner trying to compile this simple program in Vide with bcc32 compiler.


I get this when I try to build.

! Error: Unresolved external 'WinMain' referenced from
C:\BORLAND\BCC55\LIB\C0W32.OBJ


what could the problem be ??




#include <stdio.h>
void main()
{
char name[20];
char color[20];
printf("what is your name?");
}
 
R

Rob Williscroft

patrick wrote in
beginner trying to compile this simple program in Vide with bcc32
compiler.

You should really ask this in a VIDE or borland forum/newsgroup, how
to use your particular compiler isn't the topic here.
I get this when I try to build.

! Error: Unresolved external 'WinMain' referenced from
C:\BORLAND\BCC55\LIB\C0W32.OBJ


what could the problem be ??
[snip]

There should be some option to build a non-windows application, possibly
a called a console application, IIRC bcc has an comandline option -tWC
to do this.

If VIDE lets you pass command line options type bcc32 -h at a command
prompt to find out what options there are.

I put "borland newsgroups" into http://www.google.co.uk and got this:
http://info.borland.com/newsgroups/

HTH.

Rob.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top