Subject RE: [IBO] 5.2.0 build 8 install
Author IBO Support List
Point A should still apply.

-----Original Message-----
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com] On Behalf
Of Ben Malings
Sent: Tuesday, September 3, 2013 6:49 PM
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] 5.2.0 build 8 install

Hi Jason

I have yet to upgrade as I'm a little unsure about point (a). According
to the help for TIB_Session,
"If you are not doing anything with multi-threading then it will not be
necessary to instantiate this component yourself, since the system
provides a default session for the main thread automatically."
It sounds like this is no longer correct, is that the case?

What about the case where I share a connection with a DLL using the
dbHandleShared property - do I need to take steps to ensure the
IB_Connection in the DLL is owned by the same Session as the one in the
host?

On 03/09/2013 22:28, IBO Support List wrote:
>
> Rob,
>
> I'll give a little bit more of a detailed reply...
>
> a) This new behavior is raising to your attention issues that should have
> been complained about before. It should be rather easy to remedy this
> issue
> by making sure you have clear ownership heirarchy. Is all you do is make
> sure you have your components instantiated with an Owner that has a
> TIB_Session instance somewhere within its ownership domain. For example,
> putting components on a TDataModule with a TIB_Session instance will
> enable
> them to align themselves with that TIB_Session. If you are strictly in
> code,
> I recommend you just use the TIB_Session instance as the owner itself.
> This
> way the link is automatically established.
>
> b) I'm wondering if you used a comma to separate those field names if that
> would make a difference. I did have to make a change in this area recently
> in order to be properly consistent with what the VCL expects in the
> Tdataset
> class.
>
> C) Those unicode text problems could be on the heels of allowing the field
> compatibility. I may need to put some more work into that area. In this
> case, a sample app will be what I need so that I can see for sure exactly
> what is happening. The way values are acquired for Tfield components is
> entirely different than it is for TIB_Column fields. Thus, I have to test
> each one thoroughly.
>
> Thanks,
> Jason
>
> -----Original Message-----
> From: IBObjects@yahoogroups.com <mailto:IBObjects%40yahoogroups.com>
> [mailto:IBObjects@yahoogroups.com
> <mailto:IBObjects%40yahoogroups.com>] On Behalf
> Of Robert Martin
> Sent: Monday, September 2, 2013 10:31 PM
> To: IBObjects@yahoogroups.com <mailto:IBObjects%40yahoogroups.com>
> Subject: Re: [IBO] 5.2.0 build 8 install
>
> Hi Jason
>
> I successfully installed after reading the instructions in the old
> version. Process worked pretty sweet. However I am now dealing with a
> number of new issues introduced in this new version. One of which has
> been mentioned by someone else previously. I found these in the first
> few minutes of testing so there may be other issues.
>
> a) The functionality change where IBODatabase / ib_Connection no longer
> pick up default session if not explicitly assigned. Not a big problem
> as most of our code is in TThread and already had session explicitly
> assigned.
>
> b) The following (old style) code now fails with 'Unassigned parameter
> in LocateCursor'...
> BranchNewClientTable.Locate('ClientCode;HEntityRef',
> VarArrayOf([OldClientCode, Null]);
>
> I have always read / understood the code above to be equivalent to
> 'WHERE clientcode = OldClientCode and HEntityRef IS NULL'. In the
> passed it was worked as such.
>
> c) Unicode text problems...
> When I started the conversion from D2007 and IBO 4.8.7 to DXE2 and IBO
> 5.2.0.8 the driving factor was Unicode support. I did some testing and
> unicode support seemed fine. However now that I am at the end of the
> conversion process I see it is no longer working as it did in my initial
> testing.
>
> I have built a small test app and can confirm the following
>
> IB_Connection -> IB_query -> IB_datasource -> IB_grid Works fine (I can
> do in grid editing and paste Chinese characters in and the data saves /
> displays fine)
>
> Using the same IB_Connection (and therefore same database)
>
> IB_Connection -> IBOTable -> TDataSource > TDBgrid Does not work (In
> grid editing does not store data correctly and the data displays as ?????)
> IB_Connection -> IBOQuery -> TDataSource > TDBgrid Does not work (In
> grid editing does not store data correctly and the data displays as ?????)
>
> I have checked the data in Flame Robin and the data added with IB_
> components has added correctly and displays fine. Data added with
> standard Delphi DB controls is garbage. So it would appear to be a
> failure to store the data correctly.
>
> The DB and table is defined as UTF8 and I have tested other standard
> Delphi DB controls (TEdit) and it also fails. Tested with FB 2.0 and
> 2.5.2.
>
> Sorry about hitting you with all these issues but I am desperate to get
> our application shipped at this point.
>
> Thanks
> Rob
>
> On 3/09/2013 2:34 p.m., Robert Martin wrote:
> > Hi Jason
> >
> > Just upgraded our license (expired on 08/30) and downloaded new build.
> > Selected Ibo5_Source and ran the exe. it is offering to install in a
> > new directory. Should I uninstall 5.2.0.b6 which is already installed
> > in Delphi XE2 using the unins000.exe in the 5_2_0_b6 directory first?
> >
> > p.s. wow you live in a pretty small city (in New Zealand we would call
> > it a town), 193 according to wiki. Hope your broad band is alright !
> >
> > Cheers
> > Rob
> >
> >
>
> ------------------------------------
>
> __________________________________________________________
> 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 !
> http://tracker.ibobjects.com - your portal to submit and monitor bug
> reports
> http://community.ibobjects.com - your portal to purchase and upgradeYahoo!
> 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 !
http://tracker.ibobjects.com - your portal to submit and monitor bug reports
http://community.ibobjects.com - your portal to purchase and upgradeYahoo!
Groups Links