Subject RE: [IBO] IBO 5.2.0 Build 8 has been released
Author IBO Support List
This is actually intended behavior to warn you about something that should
not have been allowed previously. Strangely enough you should have ran into
an access violation but for some reason in some cases it did not, which
potentially could have corrupted memory causing more difficult issues to

The remedy to the code you have shown below can be accomplished in two ways.

1) Do not use NULL as the owner when instantiating. Instead, use the
intended TIB_Session instance as the owner and then it will automatically
become the session of the components it owns.

2) You can explicitly set the IB_Session property to the desired session.

Please keep in mind the purpose of setting an IB_Session property is so that
you can have each thread with its own isolated grouping of IBO components.
When you are coordinating the activities of a thread it should always be
working inside of its own exclusive IB_Session context.

Please let me know if you feel I haven't understood something.

I'll have to look into the OnErrorEx problem more closely. I test building
IBO on all supported versions of Delphi/C++Builder prior to release. I even
test running a new simple application on all of them. Which version of
C++Builder did this happen on?


-----Original Message-----
From: [] On Behalf
Of Sylwek G
Sent: Wednesday, August 28, 2013 1:23 AM
Subject: Re: [IBO] IBO 5.2.0 Build 8 has been released

I think there is a problem with new release. When I'm trying to run my app I
get an exception 'Session is undefined'. Below i send you simple code in C++
to reproduce this problem.

TIB_Connection *conn = new TIB_Connection(NULL); TIB_Transaction *trans =
new TIB_Transaction(NULL);

TIB_Query *query = new TIB_Query(NULL);
try {
conn->Connected = false;
conn->LoginPrompt = false;
conn->Username = "SYSDBA";
conn->Password = "masterkey";
conn->Server = "";
conn->Protocol = cpTCP_IP;
conn->Path = "D:\\MASTER.GDB";

trans->AutoCommit = false;
trans->Isolation = tiConcurrency;
trans->IB_Connection = conn;
if (!trans->Started)


query->IB_Connection = conn;
query->IB_Transaction = trans;
query->SQL->Text = " select * from rdb$database "; //dziaƂa


} __finally {
delete query;
delete trans;
delete conn;

After installation I also get compilation error with property OnErrorEx in
module IBODataset.hpp line 1180.
The same problem was with earlier release, but for now I resolved this by
commenting this line :)

[BCC32 Error] IBODataset.hpp(1180): E2370 Simple type name expected
  Full parser context
    std_types.cpp(1): #include ustd\uProject\all_headers.h
    all_headers.h(53): #include ustd\std_defs.h
    std_defs.h(7): #include D:\Pcbest\Components\Pcb\NewIBOQuery.h
    NewIBOQuery.h(9): #include
    IBODataset.hpp(32): namespace Ibodataset
    IBODataset.hpp(1142): class TIBOStoredProc

Windows XP
C++ Builder XE


From: kylixguru <supportlist@...>
Sent: Wednesday, August 28, 2013 7:34 AM
Subject: [IBO] IBO 5.2.0 Build 8 has been released

This release contains several bug fixes and some new enhancements.

NOTE: I reworked the new FilterOptions fopInMemory option added in Build 7.
If you adopted this in your projects you will need to read the release notes
for how to adjust things to the way I have improved it.

For more details about this release please see the release notes:

If you are a registered customer with a current source access subscription
you can go here to download this new release:

I also included a new version of IBO 4.9.14 in Build 60. It pretty much has
all of the bug fixes and most of the enhancements that went into IBO 5.2.0
Build 8 included.

Thanks to everyone who assisted with isolating and reproducing bugs. Please
remember I have an active bug tracking system here to report your bugs in

Kind regards,
Jason Wharton

[Non-text portions of this message have been removed]


IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________ - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links