Article View: borland.public.cppbuilder.database.multi-tier
Article #1851Re: MIDAS Connection
From: Klaas Wolters
Date: Thu, 28 Jan 1999 00:00
Date: Thu, 28 Jan 1999 00:00
27 lines
1370 bytes
1370 bytes
Ilian Iliev wrote in message <78p4ih$3fc8@forums.borland.com>...
>When I'm changing TMIDASConnection's ComputerName property (something like
>MIDASCon1->ComputerName = "blahblah"), I'm receiving linker error
>'Unresolved external Dbclient::TRemoteServer::SetComputerNameA(const
>System::AnsiString)'. Is there a conflict with WIN32 API non-Unicode
>function SetComputerName ? Or something else ? Thanks in advance.
>
This error is a bug in the BCB3 it should be fixed in BCB4
for now you can solve it by including the following function in the module
where you use the TMidasConnection
void __fastcall TRemoteServer::SetComputerNameA(const System::AnsiString
Value)
{
if (Value != FComputerName)
{
SetConnected(False);
FComputerName = Value;
}
}
Klaas Wolters
Note : the current prefered group for Midas = inprise.public.midas
Technical Details
Message-ID:
<78pmf4$43b10@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<78p4ih$3fc8@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,a1805118661f305e X-Google-Attributes: gidfcd2b,public From: "Klaas Wolters" <triple.eye@tip.nl> Subject: Re: MIDAS Connection Date: 1999/01/28 Message-ID: <78pmf4$43b10@forums.borland.com> X-Deja-AN: 437932654 References: <78p4ih$3fc8@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.cppbuilder.database.multi-tier