[fpc-pascal] code example where AnsiString used in FCL (SqlDB) causes data loss
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed May 11 22:33:13 CEST 2016
Graeme Geldenhuys wrote:
> On 2016-05-11 18:58, Michael Van Canneyt wrote:
>> > For 99,99% of cases, no changes to your code are required.
>> > If it worked in 2.6.4, it will work in 3.0.0
>
> Just curious, so why was there so many changes required for LCL, and a
> whole wiki page of its own to explain it?
Those changes were not required, (almost) everything worked still fine
with the old code. They made the changes to take advantage of the new
functionality in FPC 3.0, because the end result is much simpler code
both in the LCL and in user programs.
The wiki page is mainly to explain all of the things you no longer have
to do when using this new method.
Jonas
More information about the fpc-pascal
mailing list