Subject | Re: [IBO] IBO 5.2.0 Build 8 has been released |
---|---|
Author | Sylwek G |
Post date | 2013-08-28T07:23:03Z |
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]
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]