Article View: borland.public.cppbuilder.nativeapi
Article #3817Re: Linker error
From: Jos�
Date: Thu, 27 Apr 2006 07:04
Date: Thu, 27 Apr 2006 07:04
37 lines
2127 bytes
2127 bytes
On Wed, 26 Apr 2006 14:57:09 +0200, Hans Galema <notused@notused.nl> wrote in borland.public.cppbuilder.nativeapi: >> 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() ? The very one >I assume that you have more units in the project so this solutions >looks terrible. There is only one unit >Did it crash as soon as you tried to run it ? Inside/oudside the IDE ? Immediately when the program starts, before any window is displayed. I cannot single step into the error. >It might help if you told which version of buider you use. 4.0 >> 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. Well, I restored a back-up of the crashing program -- Jos�
Technical Details
Message-ID:
<f3r052p03e6b2csh400tvr0jstma0kngk0@4ax.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-mailReferences:
<6jgu42lmnd7anrv89k6h8uevgnru3qshm2@4ax.com> <444f6f1e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4288ca169ea4de24 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: Jos� <jose@127.0.0.1> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Linker error Date: Thu, 27 Apr 2006 09:04:24 +0200 Message-ID: <f3r052p03e6b2csh400tvr0jstma0kngk0@4ax.com> References: <6jgu42lmnd7anrv89k6h8uevgnru3qshm2@4ax.com> <444f6f1e$1@newsgroups.borland.com> X-Newsreader: Forte Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 82.75.14.62 X-Trace: newsgroups.borland.com 1146121507 82.75.14.62 (27 Apr 2006 00:05:07 -0700) Lines: 37 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