Delphi
Delphi XE: TTimeZone is not threadsafe
This is only a very short post, but perhaps it can help some people out there :) When you want to use the abstract class TTimeZone respectively its derived class TLocalTimeZone then be aware of that it is NOT threadsafe – the two mentioned classes are defined in the unit DateUtils since Delphi XE and are really helpful.
Enumerations as class type in a generic class/record
Last night I had a really strange compiler error when I tried to translate my new array record. You have to know that I have rewritten the complete record and added generic support to it. Here is a lil’ bit of the code which you need to unterstand why I got this error.
Update: Editor Theme for Delphi IDE (Version 7-XE2)
Some days ago Embarcadero published the new version of the Delphi IDE, called XE2. Rolf Warnecke has already ported the theme to this version and here it is :)
Today I recieved the new version of the my favorite IDE called Delphi XE. Some time ago I created a kind of theme for the its editor so it looks a lil’ bit nicer (for me ;) ). Now I updated the theme so it supports the new version too. You can find my old (german) post below.
RTTI in Delphi 2010, nice but a little bit too slow
First of all RTTI is a very nice feature I think. You can do a lot of funny things especially when you combine this technique with Generics. But there is a problem I’m not very glad about: the speed is not that good, so I had to change some things in my O/R mapping class. I do not want to explain what I’m working on because my intention of this post is to write down some words about my experiences with this RTTI feature and the speed.
