Article View: borland.public.cppbuilder.nativeapi
Article #11087Re: _main from C0X32.OBJ
From: Bob Gonder
Date: Thu, 26 Feb 2004 01:43
Date: Thu, 26 Feb 2004 01:43
12 lines
1480 bytes
1480 bytes
PC Hua wrote: >I'm trying to compile (BCB5) an open source project. It's a command line >program and I used the Console Wizard. Looks like I picked something >wrong. The linker is saying: >[Linker Error] Unresolved external '_main' referenced from C:\PROGRAM >FILES\UTILS\CBUILDER5\LIB\C0X32.OBJ Normal Console programs start at int main() and link with c0x32. If your source doesn't contain main() then it isn't a "normal console" app. What is the name of the entry point?
Technical Details
Message-ID:
<bijq30p1f4u66bu2pe8l0p7ietdfbs0fji@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<opr3ychqrepmxkmr@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,edfef17740a11661 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-02-25 18:10:02 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: _main from C0X32.OBJ Date: Wed, 25 Feb 2004 17:43:58 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <bijq30p1f4u66bu2pe8l0p7ietdfbs0fji@4ax.com> References: <opr3ychqrepmxkmr@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.176.13 X-Trace: newsgroups.borland.com 1077759838 67.31.176.13 (25 Feb 2004 17:43:58 -0800) Lines: 14 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail