News for March 2010

Problem with CodeSnip v3.5.4 fixed on web server
The CodeSnip update web service has been patched to recognise requests from CodeSnip v3.5.4 and to deliver a customised database update that it can handle. So the worst of the problem has been resolved. However updating from any version of CodeSnip from v3.5.1 to v3.5.4 is strongly recommended.
25 March 2010
CodeSnip v3.5.4 found to be fatally flawed
CodeSnip v3.5.4 has a bug that causes a stream error just after a database update has been downloaded. Users are strongly encouraged to update to v3.5.5 or later.
24 March 2010
CodeSnip v3.5.5 released. Essential bug fix update for users of v3.5.1 to v3.5.4
CodeSnip v3.5.4 has been found to have a fatal bug (#2976048) that causes a stream read error after a database update has been downloaded. This was introduced into v3.5.4 while fixing other bugs in v3.5.3. In fact, v3.5.1 to v3.5.4 are all buggy for some users, so this release is considered essential for users of those versions.
24 March 2010
CodeSnip v3.5.4 released. This is a recommended bug fix update
CodeSnip v3.5.4 is a temporary fix for a persistent database update bug that v3.5.2 and v3.5.3 also attempted to fix. v3.5.3 fixed it for some systems, but it is still biting user of Russian versions of Windows with code page 1251 (and there are probably other locales). The database download code is being completely overhauled and this fix will be replaced when that is done.
18 March 2010
Resource File Unit v1.0.1 released
This new version gets rid of compiler warnings on Delphi 7 and later. It also improves comparison of string resource ids to make them safer with multi-byte character sets. The documentation has also been overhauled. And the unit's been tested with Delphi 2010 - it works fine. The source code is now hosted in the ddab-lib Google Code repository.
18 March 2010
MD5 Message Digest Unit v0.1.0 beta released
The first release of the MD5 Message Digest Unit has been made available. The downloadable .zip file available from both the MD5 page on and the ddab-lib project on Google Code.
17 March 2010
Published new tip#158
This new tip is entitled "How to prevent a TLIstView from displaying tool tips for long items". It presents a little routine that can be used to inhibit the standard list view behaviour of displaying the full text of truncated items in a tool tip.
17 March 2010
New Delphi Tips RSS feed now available
A new RSS news feed has been set up that provides news of updates to the Delphi Tips section. You can subscribe using the link above or by clicking on the feed icon that appears on the Delphi Tips page.
15 March 2010
CodeSnip bug resurfaces
The Database update error bug that first appeared in v3.5.1, and both v3.5.2 and v3.5.3 sought to fix, has reared its ugly head again. It has been reported on Russion systems with default code page 1251. Until a fix becomes available a patched version of v3.5.3 with the problem literally commented out is available from my Dropbox account at
15 March 2010
Demo source code for some Delphi Tips is now available
Ready made demo projects are now available for each Delphi Tip that has a demo source code section. The tips concerned are 12, 24, 41, 58, 74, 87, 92, 93, 94, 95, 100, 101 and 105. The tips are hosted in trunk/TipDemos directory of the Delphi Doodlings code repository. Each demo has its own sub-folder.
15 March 2010
Published new tip#157
This new tip is entitled "A general purpose Base64 decoding routine using Indy". It is used to decode base-64 encoded data into an array of bytes.
12 March 2010
Fixed a bug in the Code Snippets Database unit generator
The bug in the online Code Snippets Database's unit generator was causing the generator to crash with an unhandled exception when users attempted to generate units using the "comments before snippets" comment style.
11 March 2010