🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.dbexpress
Article #183

BDS2007 - Driver already registered: TDBXDynalinkDriverLoader

#183
From: Larry Griffiths
Date: Wed, 30 Jan 2008 14:36
30 lines
2124 bytes
I am running BDS2007 with Dec 17 update under Windows XP service pack 2.

I create an instance of TSQLConnection at runtime and get the following 
exception:

    "Driver already registered: TDBXDynalinkDriverLoader"

I do not know why I am getting this exception.

Does anyone know how to fix this?

My code looks like this:

 TSQLConnection *SQLConnection = new TSQLConnection(0);

  SQLConnection->DriverName   = "MSSQL";
  SQLConnection->LoginPrompt    = false;
  SQLConnection->KeepConnection = true;
  SQLConnection->Params->Add( "HostName=HostName"         );
  SQLConnection->Params->Add( "DataBase=DataBase"      );
  SQLConnection->Params->Add( "User_Name="          );
  SQLConnection->Params->Add( "Password="          );
  SQLConnection->Params->Add( "BlobSize=-1"          );
  SQLConnection->Params->Add( "ErrorResourceFile="        );
  SQLConnection->Params->Add( "LocaleCode=0000"         );
  SQLConnection->Params->Add( "MSSQL TransIsolation=ReadCommited" );
  SQLConnection->Params->Add( "OS Authentication=True"       );
  SQLConnection->Params->Add( "Prepare SQL=False"        );

  SQLConnection->Open();
Technical Details
Message-ID: <47a08bbd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: fb4e2,93dc195abfa1372f,start
X-Google-Attributes: gidfb4e2,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Larry Griffiths" <nospame@nowhere.com>
Newsgroups: borland.public.cppbuilder.database.dbexpress
Subject: BDS2007 - Driver already registered: TDBXDynalinkDriverLoader
Date: Wed, 30 Jan 2008 08:36:23 -0600
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 70.252.174.162
Message-ID: <47a08bbd$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201703869 70.252.174.162 (30 Jan 2008 06:37:49 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail