🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.migration
Article #68

Compiling Delphi component in BCB

#68
From: TerryC
Date: Wed, 05 Jan 2005 22:40
23 lines
1726 bytes
I'm trying to compile a component with Delphi source in BCB 6.
It does OK initially, but has a plethora of linker errors when it
finishes, listing unresolved external reference to
Outline::TCustomOutline.

I added "Outline" to the list of modules under "uses" in the .PAS
file, so that it appears thus:

uses
  Windows, Messages, Classes, Controls, Outline;

...with the belief that this would resolve the references 
to TCustomOutline.  However, the linker complains that it can't
fine OUTLINE.OBJ!  This makes little sense to me, since the
other "uses" modules don't have OBJ files either, but ALL of them
have DCU and RES files in the $(BCB)/Lib/Obj directory.

If the linker can find the Windows, Controls, etc. modules, why
is it choking on Outline?

Many thanks,
Terry
Technical Details
Message-ID: <41dc6ce7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,23958a15a3480843,start
X-Google-Attributes: gid110f51,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "TerryC" <terryc_NOSPAM@sweetwater.DONTSPAM.com>
Sender: "TerryC" <terryc_NOSPAM@sweetwater.DONTSPAM.com>
Reply-To: "TerryC" <terryc_NOSPAM@sweetwater.DONTSPAM.com>
Subject: Compiling Delphi component in BCB
Newsgroups: borland.public.cppbuilder.migration
X-User-Info: 63.250.179.198     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <41dc6ce7$1@newsgroups.borland.com>
Date: 5 Jan 2005 14:40:39 -0800
X-Trace: newsgroups.borland.com 1104964839 207.105.83.66 (5 Jan 2005 14:40:39 -0800)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!transit.nntp.hccnet.nl!transit1.nntp.hccnet.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail