🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Upgrade from 2006 to 2007 Linker String error

#324
From: Simon Guertin
Date: Wed, 20 Jun 2007 20:47
28 lines
1855 bytes
Craig Farrell wrote:
> Hi,
> 
>> it tells me an ILINK32 Error: Unresolved external __fastcall 
>> System::AnsiString::LoadString( void *, int ) referenced from 
>> c:\myproject\o\myobject.o
> 
> 
> It seems there is a name-mangling problem in some of the
> methods that take Windows handle params in vcle.lib. vcle.lib
> is the "emulation" library, the bridge from C++ to Delphi,
> for things like the AnsiString class. A workaround would be to,
> in the module that uses the methods, tell the linker to look
> for the actual mangled name, e.g.
> #pragma alias 
> "@System@AnsiString@LoadStringA$qqrpvi"="@System@AnsiString@LoadStringA$qqrp11HINSTANCE__i" 
> 
> 
> --Craig
> 
Amazing it worked, thanks

But is this normal I have to patch it this way or this will be fixed 
through a fix later on?

Thanks again.

Simon
Technical Details
Message-ID: <46799218$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4677f331$1@newsgroups.borland.com> <467976ca$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,64a7e965e9aa8e1f
X-Google-Attributes: gid10529a,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 20 Jun 2007 16:47:24 -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: Re: Upgrade from 2006 to 2007 Linker String error
References: <4677f331$1@newsgroups.borland.com> <467976ca$1@newsgroups.borland.com>
In-Reply-To: <467976ca$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 70.50.240.227
Message-ID: <46799218$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1182372376 70.50.240.227 (20 Jun 2007 13:46:16 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail