Subject | RE: [IBO] IBO 5.2.0 Build 8 has been released |
---|---|
Author | IBO Support List |
Post date | 2013-08-30T05:47:21Z |
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Sylwek G
Sent: Wednesday, August 28, 2013 6:01 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] IBO 5.2.0 Build 8 has been released
Hello,
thanks for your quick answer. Abaout first problem I'll look into it.
I have very old applications migrated from BDE, probably thats why I have so
many problems :) In those applications IB_Session is not used.
About second I'm using EmbarcaderoR C++BuilderR XE Version
15.0.3953.35171 with first update.
There is one very important detail I forgo, you have to use any component
from iboTDataSet.
Please find below steps to reproduce this compilation error:
1. Create new VCL Forms Application
2. Put any of iboTDataSet components on form, i.e. TIBOTable or TIBOQuery 3.
Compile application I hope this will be helpful :)
Can you tell what about this problem with fields starting with numbers in
quotes?
There is hope you fix it or I have to resolve it on my on?
Thank again for your help
Sylwek
________________________________
From: IBO Support List <supportlist@...>
To: IBObjects@yahoogroups.com
Sent: Wednesday, August 28, 2013 1:01 PM
Subject: RE: [IBO] IBO 5.2.0 Build 8 has been released
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
diagnose.
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?
Thanks,
Jason
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Sylwek G
Sent: Wednesday, August 28, 2013 1:23 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] IBO 5.2.0 Build 8 has been released
Hello,
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 = "127.0.0.1/3050";
conn->Protocol = cpTCP_IP;
conn->Path = "D:\\MASTER.GDB";
conn->Connect();
trans->AutoCommit = false;
trans->Isolation = tiConcurrency;
trans->IB_Connection = conn;
if (!trans->Started)
trans->StartTransaction();
query->IB_Connection = conn;
query->IB_Transaction = trans;
query->SQL->Text = " select * from rdb$database "; //dziaĆa
query->Prepare();
query->Open();
trans->Rollback();
conn->Disconnect();
} __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
D:\Pcbest\Components\Ibo5\lib\d2011\Win32\Release\IBODataset.hpp
IBODataset.hpp(32): namespace Ibodataset
IBODataset.hpp(1142): class TIBOStoredProc
Environment:
Windows XP
C++ Builder XE
Regards
Sylwek
________________________________
From: kylixguru <supportlist@...>
To: IBObjects@yahoogroups.com
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:
http://www.ibobjects.com/ReleaseNotes.rtf
If you are a registered customer with a current source access subscription
you can go here to download this new release:
http://community.ibobjects.com
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
directly:
http://tracker.ibobjects.com
Kind regards,
Jason Wharton
www.ibobjects.com
[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.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
------------------------------------
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
[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.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Sylwek G
Sent: Wednesday, August 28, 2013 6:01 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] IBO 5.2.0 Build 8 has been released
Hello,
thanks for your quick answer. Abaout first problem I'll look into it.
I have very old applications migrated from BDE, probably thats why I have so
many problems :) In those applications IB_Session is not used.
About second I'm using EmbarcaderoR C++BuilderR XE Version
15.0.3953.35171 with first update.
There is one very important detail I forgo, you have to use any component
from iboTDataSet.
Please find below steps to reproduce this compilation error:
1. Create new VCL Forms Application
2. Put any of iboTDataSet components on form, i.e. TIBOTable or TIBOQuery 3.
Compile application I hope this will be helpful :)
Can you tell what about this problem with fields starting with numbers in
quotes?
There is hope you fix it or I have to resolve it on my on?
Thank again for your help
Sylwek
________________________________
From: IBO Support List <supportlist@...>
To: IBObjects@yahoogroups.com
Sent: Wednesday, August 28, 2013 1:01 PM
Subject: RE: [IBO] IBO 5.2.0 Build 8 has been released
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
diagnose.
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?
Thanks,
Jason
-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Sylwek G
Sent: Wednesday, August 28, 2013 1:23 AM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] IBO 5.2.0 Build 8 has been released
Hello,
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 = "127.0.0.1/3050";
conn->Protocol = cpTCP_IP;
conn->Path = "D:\\MASTER.GDB";
conn->Connect();
trans->AutoCommit = false;
trans->Isolation = tiConcurrency;
trans->IB_Connection = conn;
if (!trans->Started)
trans->StartTransaction();
query->IB_Connection = conn;
query->IB_Transaction = trans;
query->SQL->Text = " select * from rdb$database "; //dziaĆa
query->Prepare();
query->Open();
trans->Rollback();
conn->Disconnect();
} __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
D:\Pcbest\Components\Ibo5\lib\d2011\Win32\Release\IBODataset.hpp
IBODataset.hpp(32): namespace Ibodataset
IBODataset.hpp(1142): class TIBOStoredProc
Environment:
Windows XP
C++ Builder XE
Regards
Sylwek
________________________________
From: kylixguru <supportlist@...>
To: IBObjects@yahoogroups.com
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:
http://www.ibobjects.com/ReleaseNotes.rtf
If you are a registered customer with a current source access subscription
you can go here to download this new release:
http://community.ibobjects.com
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
directly:
http://tracker.ibobjects.com
Kind regards,
Jason Wharton
www.ibobjects.com
[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.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
------------------------------------
___________________________________________________________________________
IB Objects - direct, complete, custom connectivity to Firebird or InterBase
without the need for BDE, ODBC or any other layer.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links
[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.
___________________________________________________________________________
http://www.ibobjects.com - your IBO community resource for Tech Info papers,
keyword-searchable FAQ, community code contributions and more !
Yahoo! Groups Links