I want to share my first impression with CT560. I can tell only things that I can test in my projects.
My application use Indy library, that I have my visual components based on BGRA and customdrown. I use very muct VirtualTree component (which is updated to new version in this version).
I also use Postgres, Mysql, utf8 encoding, https connections, report generation with bitmaps and pistures (printing to thermal printers), xml, json and lot of other stuff. I think this is pretty much everything what you need to build database driven projects.
So.
1. It seems that Postgres and WIN64 now works correctly. I reported error when fetching big float number from database. If you make query like this.
SELECT CODE_DATABASE, CAST(1.401 as NUMERIC(8,4)) as NUM1, CAST(1.401 as NUMERIC(78, 8)) as NUM2 FROM CONF_DATABASE
and you are using win64 and you try to get NUM2 with
MyNum2 := MyQuery.FieldByName('NUM2').AsFloat;
you will get 10000 times bigger number, so you have to devide this number with 10000 to get the result. Problem is that such big numeric are formated
ans BCD and this does not works correctly. So I had function which fix this.
Now the problem is I dont know how to distinguish CT540 from CT560 with some compiler directive, especially because both compilers are fpc 3.1.1 with some different SVN number.
The question is: How can I distinguish CT 540 , CT550, CT560 or even better fpc in CT540, CT550 or CT560, so I can write code without parameters which are needed to detect should I devide number with 10000 or not?
2. Indy library still have gzip bug which CT 560 you correctly fix like in previous version. Thanks to fixing this.
3. Somebody is playing again with TZOffset and DateUtils.inc LocalTimeToUniversalTime and UniversalTimeToLocalTime. Now it works but only because when function is called it change sign of TZOffset with -. That can work, but maybe something else depends on it also. Can not tell what.
4. I like Multi-Project Editor. It is good and it will save lots of time for me because I have many applications in one project. This does not works exactly like in Delphi but thanks for that extension, it is great. Of cource bugs will be reported
Applications are in production and I just recompiled and make some first tests. Following days I will put to test environment and if something is not OK I will report an error so we or I can fix this.
Thanks again for this great release.
Regards, Dinko