Tag: embarcadero

DeHL 0.8.1

No Picture

I’ve just released the version 0.8.1 of DeHL. The downloads can be found on this page and changelog on this page. This is mostly a fix release with only one major feature – Cloning (in DeHL.Cloning). The rest…

Read More »

Replication

No Picture

I must say, I am still pretty exited by the extended RTTI in Delphi 2010. It makes life so much easier in many circumstances. “Cloning” (I call it replication) is one of those. Say hello to TReplicator<T> (in…

Read More »

Here you go — DeHL 0.8

No Picture

This is going to be a short one. After months of no releases, here it is: DeHL 0.8 (see changelog for the list of changes on this release). As I mentioned previously, this release will only work on…

Read More »

DeHL, Delphi 2010 and Serialization

No Picture

A few months have passed and I did not release a new version of DeHL yet. No, it’s not dead. I’ve just been busy with a delicate new feature — Serialization. This post will demonstrate the new capabilities…

Read More »

TypeInfo workaround

No Picture

This is going to be a short one. Just wanted to share a simple and elegant work-around for this QC issue: Now, you can obtain the type information for any type by simply using TypeOf<T>.TypeInfo: You can also…

Read More »

Class constructors and Generics

No Picture

The new great addition to the Delphi language in Delphi 2010 is the possibility to specify a class constructor and a class destructor to your class/record. I will not describe this feature in this post since you can…

Read More »

DeHL 0.6 available

No Picture

Yes I know I have skipped 0.5. The reality is that 0.5 was due a long time ago, but I did not have enough free time on my hands to complete the unit testing for all new features…

Read More »

Update for FSEnum

No Picture

Since some people asked me to improve FSEnum unit (see this post). I decided to give it another go and add some features and improve the others. So what’s new? Optional Boolean parameter for all methods that tells…

Read More »

Extending TObject with data at runtime

No Picture

In a recent comment on this blog Patrick van Logchem suggested a way of extending an existing object instance with custom data at run-time (originally the idea of Thorsten Engler). The main idea is to be able to…

Read More »

Enumerating over a directory structure

No Picture

Me again, and again with enumeration techniques. In this post I will try to coven a very common problem all programmers have to face one time or another: enumerating all files recursively in a directory. Yesterday I had…

Read More »