Subject | Re: [IBO] BCB5 & TIB_Connection->Params->Add("USER NAME = SYSDBA") |
---|---|
Author | Jason Wharton |
Post date | 2001-08-08T15:43:15Z |
You shouldn't use Add() because what if there is already a USER_NAME entry
in there?
Use Values[ ].
I have no idea why you would get an AV.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
in there?
Use Values[ ].
I have no idea why you would get an AV.
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: <Behnke@...>
To: <IBObjects@yahoogroups.com>
Sent: Friday, August 03, 2001 5:54 AM
Subject: [IBO] BCB5 & TIB_Connection->Params->Add("USER NAME = SYSDBA")
Dear Members,
using IBO 4 and BCB 5 i have the following problem connect to IB.
In Delphi (Pascal) i can do the following (which is also descriped in
the Tutorial from Jason)
IB_Connection.ParamsĀ“.Values['USER NAME'] := 'SYSDBA'; //
O.K. in CBUILDER that code snip dos'nt work i try'd to do the
following which is normaly possible with a TStringList
IB_Connection->LoginPrompt = false;
IB_Connection->Params->Add("USER NAME = SYSDBA");
but i get the Error blah,blah error reading from 00000
because IB_Connection->Params point's to NULL
Any Ideas ?
Thanks in advance
Gerhard Behnke
Hamburg
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/