By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,851 Members | 2,104 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,851 IT Pros & Developers. It's quick & easy.

help

P: n/a

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?");
}
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
patrick wrote in news:Q2****************@news.indigo.ie:

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.
--
http://www.victim-prime.dsl.pipex.com/
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.