🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #1801

Re: console ping example

#1801
From: Michel Leunen
Date: Sun, 29 Oct 2006 16:40
17 lines
1587 bytes
DeKayA@bellsouth.net wrote:

> The error is [Linker Error]Unresolved external'_main' referenced from
> C:\BCB4\LIB\C0X32.OBJ

It means you're trying to build a console application but the linker 
doesn't find any code for the main() function. IOW, since the code has a 
WinMain(), you've to build a windows application even if there is no form.

Michel
-- 
----------------------------------------
Michel Leunen
mailto: see my homepage.
C++Builder, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
Technical Details
Message-ID: <4544d978$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45440dc2.34466740@forums.borland.com> <4544818b$1@newsgroups.borland.com> <4544a862.2476000@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,31ea45a742d03588
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 29 Oct 2006 17:40:31 +0100
From: Michel Leunen <nospam@noreply.be>
Organization: www.leunen.com
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: console ping example
References: <45440dc2.34466740@forums.borland.com> <4544818b$1@newsgroups.borland.com> <4544a862.2476000@forums.borland.com>
In-Reply-To: <4544a862.2476000@forums.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.247.90.89
Message-ID: <4544d978$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1162140024 81.247.90.89 (29 Oct 2006 08:40:24 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail