🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by Ilian Iliev Thu, 28 Jan 1999 00:00
MIDAS Connection
#1850
Author: Ilian Iliev
Date: Thu, 28 Jan 1999 00:00
5 lines
799 bytes
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.
Re: MIDAS Connection
#1851
Author: Klaas Wolters
Date: Thu, 28 Jan 1999 00:00
27 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads