🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #938

WideString/BSTR Linker Error in B4 (works in B3)

#938
From: Kevin Talley
Date: Mon, 18 Sep 2000 00:00
23 lines
1145 bytes
As we attempt to migrate some multi-tier code from BCB3 to BCB4, we 
encountered the following...

The sample function:
{
WideString WS1;

MidasConnection1->AppServer.Exec(Function("SampleMethod") << &WS1);
}
compiles/links fine in BCB3.  In BCB4, we get the error:

[Linker Error] Unresolved external 
'System::AutoCmd::operator <<(wchar_t* *)' referenced from 
C:\Projects\TEST.OBJ

Likewise, if we have a "BSTR *" that we want to pass in this fashion we get 
the same error.  Something obviously to do with WideString pointers and 
perhaps a different implementation in BCB4/5 than in BCB3.

Any ideas, please???  Help!

Thanks!
Kevin Talley (ktalley@synergysoftware.com)
Technical Details
Message-ID: <8FB366326ktalleysynergysoftwa@10.5.144.16>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,854484324ec172a0,start
X-Google-Attributes: gidfcd2b,public
From: ktalley@synergysoftware.com (Kevin Talley)
Subject: WideString/BSTR Linker Error in B4 (works in B3)
Date: 2000/09/18
Message-ID: <8FB366326ktalleysynergysoftwa@10.5.144.16>
X-Deja-AN: 671225614
Organization: OTX-Synergy
User-Agent: Xnews/03.08.28
Newsgroups: borland.public.cppbuilder.database.multi-tier