🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3815

Re: Linker error

#3815
From: Hans Galema
Date: Wed, 26 Apr 2006 12:57
25 lines
1882 bytes
Jos� wrote:

> Today another problem arose unexpectedly. It was a familiar one. My
> program compiled and linked without problem but it crashed at the very
> outset. I already knew the solution to this problem: Start a new
> project, copy *.H, &.CPP and *.DFM, and the problem is solved.

Which .cpp file is that ? The one that contains calls to SelectDirectory() ?

I assume that you have more units in the project so this solutions
looks terrible.

Did it crash as soon as you tried to run it ? Inside/oudside the IDE ?

It might help if you told which version of buider you use.

> But this time this procedure resulted in another nasty problem:
> 
> [Linker Error] Unresolved external '__fastcall
> Filectrl::SelectDirectory(const System::AnsiString, const
> System::WideString, System::AnsiString&)' 

Throw away the .tds file and all .o files and do a rebuild.

Hans.
Technical Details
Message-ID: <444f6f1e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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: <6jgu42lmnd7anrv89k6h8uevgnru3qshm2@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4288ca169ea4de24
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
Date: Wed, 26 Apr 2006 14:57:09 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Linker error
References: <6jgu42lmnd7anrv89k6h8uevgnru3qshm2@4ax.com>
In-Reply-To: <6jgu42lmnd7anrv89k6h8uevgnru3qshm2@4ax.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <444f6f1e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1146056478 145.98.201.248 (26 Apr 2006 06:01:18 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.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