🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #321

Upgrade from 2006 to 2007 Linker String error

#321
From: Simon Guertin
Date: Tue, 19 Jun 2007 15:17
29 lines
1916 bytes
Hi, I am trying out the new Borland 2007 C++ Builder and I am having 
trouble compiling and linking my project that works fine in 2006.

I opened the Borland 2006 c++ Project in the 2007 and the upgrade was fine.
I did not changed any project options in the new project. I resolved 
some minor compilation problems and the compilation is now fine. But now 
it tells me an ILINK32 Error: Unresolved external __fastcall 
System::AnsiString::LoadString( void *, int ) referenced from 
c:\myproject\o\myobject.o

It seems the LoadString function does not exist anymore for AnsiString 
object? I am reading the help but I cant find the AnsiString object 
anymore too.

It also looks like it does not link in a new project start from the 
File/new VCL Forms application.

Here is the problematic code:

HMODULE hmod = ::LoadLibrary( "nmcdat.dll" );
if ( hmod ){
   String pc;
   pc.LoadString( hmod, 1000 );
}


Thank you for any help.

Simon
Technical Details
Message-ID: <4677f331$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,64a7e965e9aa8e1f,start
X-Google-Attributes: gid10529a,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 19 Jun 2007 11:17:04 -0400
From: Simon Guertin <sguertin_AT@trellianetworks.com>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.upgrade
Subject: Upgrade from 2006 to 2007 Linker String error
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 70.50.240.227
Message-ID: <4677f331$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182266161 70.50.240.227 (19 Jun 2007 08:16:01 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1757