Visit site Yet Another Programming Blog
June 2010
3
votes
DeHL 0.8.3
Yet Another Programming Blog
– I will be brief as usual — version 0.8.3 of DeHL is out. The downloads can be found on this page and changelog on this page. This release “fixes” some of the things I wanted fixed for a long time, so it seemed this is the perfect moment for this to happen. A new unit is introduced ...
May 2010
5
votes
DeHL 0.8.2 is out
Yet Another Programming Blog
– I’ve just released the version 0.8.2 of DeHL. The downloads can be found on this page and changelog on this page. Again, this is a minor release with a few bugs fixed and a new feature: TString (as asked in this comment). As you might have guessed already, TString is a wrapper record modeled ...
April 2010
5
votes
DeHL 0.8.1
Yet Another Programming Blog
– 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 of the changes are either bug fixes or janitorial changes. Have Fun!
March 2010
4
votes
Replication
Yet Another Programming Blog
– 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 DeHL.Replication). It can take any type and create an exact copy ...
4
votes
Here you go — DeHL 0.8
Yet Another Programming Blog
– 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 Delphi 2010, since the number of changes required to support serialization was quite big. I must ...
February 2010
5
votes
DeHL, Delphi 2010 and Serialization
Yet Another Programming Blog
– 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 of DeHL it’s advantages and and shortcomings. But first — since ...
October 2009
1
vote
TypeInfo workaround
Yet Another Programming Blog
– This is going to be a short one. Just wanted to share a simple and elegant work-around for this QC issue: type TypeOf<T> = record class function TypeInfo: PTypeInfo; static; class function Name: string; static; class function Kind: TTypeKind; static; end; { TypeOf<T> } ...
6
votes
DeHL 0.7 is up
Yet Another Programming Blog
– After a few months of no releases, I finally decided to throw one out — so here it is, DeHL 0.7. This release is adding three more collection, new types and fixes some internal limitations of the library. For the people that never tried DeHL – it is a collection of types and classes ...
September 2009
2
votes
Class constructors and Generics
Yet Another Programming Blog
– 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 see the online documentation for it on the Embarcadero Doc Wiki. The part I am ...
June 2009
3
votes
DeHL 0.6 available
Yet Another Programming Blog
– 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 added. I always try to add as many unit tests as possible to test all possible scenarios. This release features a general ...
2
votes
Update for FSEnum
Yet Another Programming Blog
– 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 the enumerator whether to return the relative paths (like it did before) or ...
2
votes
Extending TObject with data at runtime
Yet Another Programming Blog
– In a recent comment on this blog someone suggested a way of extending an existing object instance with custom data at run-time. The main idea is to be able to “assign” to an arbitrary object (whose sources you cannot change) some other object at run-time. This may prove to be useful in ...
4
votes
Enumerating over a directory structure
Yet Another Programming Blog
– 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 to do it again, and again following the standard FindFirst … FindNext and ...
3
votes
Arbitrary precision integers
Yet Another Programming Blog
– I have decided to extract the BigInteger and BigCardinal data types from DeHL and make a bundle with them separately. Someone may be interested in these types and not so much in DeHL. The attached unit should compile on D2007 and D2006 (not sure for earlier versions). What can you learn: Shows you ...
10
votes
Playing with Windows 7
Yet Another Programming Blog
– I was playing around with some (default Windows) programs these days and noticed that taskbar items for those programs show some cool effects whenever there is some progress going on So I decided to write a little unit to take advantage of these effects in one of my Delphi applications. To take ...




