Subject | Re: [IBO] Characteristics |
---|---|
Author | Geoff Worboys |
Post date | 2009-01-03T10:30:41Z |
Hi Grzesiek,
have used BCB at all) try placing a breakpoint inside
TIB_Connection.GetCharacterstics (around line 17140 of
IB_Components.pas). See if that helps you track down what is
wrong.
GetCharacteristics should be called as part of
int w = DB->Characteristics.dbServer_Major_Version;
and so the above may help you isolate get to the detail of
the problem.
I dont know why the IDE should show the structure if the
executable cannot... it is a "packed record", so I wonder if
there is some issue with the way you are linked to the IBO
function (is it a DLL/BPL and if so is the executable built
with the same alignment etc).
--
Geoff Worboys
Telesis Computing
> ...If you can (I've not used BCB2007, it is a long time since I
> int w = DB->Characteristics.dbServer_Major_Version; => throw
> exception
have used BCB at all) try placing a breakpoint inside
TIB_Connection.GetCharacterstics (around line 17140 of
IB_Components.pas). See if that helps you track down what is
wrong.
GetCharacteristics should be called as part of
int w = DB->Characteristics.dbServer_Major_Version;
and so the above may help you isolate get to the detail of
the problem.
I dont know why the IDE should show the structure if the
executable cannot... it is a "packed record", so I wonder if
there is some issue with the way you are linked to the IBO
function (is it a DLL/BPL and if so is the executable built
with the same alignment etc).
--
Geoff Worboys
Telesis Computing