I got developer access to the tdbf sourceforge project and made the packages compile with all Delphi versions I have got: Delphi 6 Delphi 7 Delphi 2005 Delphi 2006 Delphi 2007 Delphi 2009 Delphi 2010 Delphi XE Delphi XE2 (32 and 64 bits) Delphi XE4 (32 and 64 bits) I also applied several bugfixes which … Continue reading tdbf updates – help required
using and ab-using ifdef
I am currently trying to update an open source project from Delphi 2007 to XE2 and found some code which supposedly already works for XE2. But it is ab-using ifdef in several ways so I thought I'd blog about this to vent some steam and also possibly educate others. (Class name changed to protect the … Continue reading using and ab-using ifdef
GExperts Formatter features you didn’t know about
I am sure you did not know about these features (I had forgotten about them myself): You can save your own custom configuration as FormatterSettings-<YourName>.ini into the GExperts installation directory. After you did that, you can select this configuration in the same way you can the preinstalled configurations. If you want to format a unit … Continue reading GExperts Formatter features you didn’t know about
Comparing .po files with BeyondCompare
BeyondCompare from Scooter Software is a very versatile directory and file comparison tool. It allows filters for binary formats, weighting lines and defining a grammar for comparing text files. This is a simple grammar for .po files (used by GNUGetText): Comment=Text matching ^# and next 0 lines After defining this grammar, all changes in lines … Continue reading Comparing .po files with BeyondCompare
Using dBase
I recently needed to do some table manipulation with Visual dBase. Not being an expert with this program (I usually write tools for that purpose in Delphi using the BDE or tdbf), I had to look up quite a few commands. Here are the links that proved useful: Beginners’ Corner — Part 2: The dBASE … Continue reading Using dBase
experimental GExperts + code formatter for Delphi XE4
There isn't yet any official release of GExperts for Delphi XE4 but if you don't mind a little bit of manual work for installing, you can have it anyway. WARNING: I have just now made this version compile with Delphi XE4. I have not done any tests. You are on your own and responsible for … Continue reading experimental GExperts + code formatter for Delphi XE4
Storing gnugettext translations as resources
I always wondered why the assemble tool in dxgettext appends the translation files directly to the executable rather than using the existing mechanism of resources. This is no longer necessary. I have updated the gnugettext code to optionally use RCDATA resources named after the files. So you e.g. create a translations.rc file as LOCALE_DE_DEFAULT RCDATA … Continue reading Storing gnugettext translations as resources
setfacl woes
Ever since I switched my Linux server to using ACLs (access control lists) for advanced access rights management I have struggled with rights being set too restrictive on new directories and files. Now it seems that I have solved the issue and this post is meant to remind me how to change the whole directory … Continue reading setfacl woes
updated assemble.exe in dxgettext repository
My colleague Daniel has added an option to the dxgettext assemble tool to specify a different directory where to look for the locale data. This is meant to be used, when you compile the executable to a different directory than the one in which the locale subdirectory is located. Since dxgettext would use the locale … Continue reading updated assemble.exe in dxgettext repository
.manifest support in dzPrepBuild
It has taken a while but I have eventually arrived in the "modern" Windows world. After many years of sticking with Windows XP (and Linux) I have updated two computers to Windows 8 (both 64 bit) and another two to Windows 7 (64 bit and 32 bit). In doing so I have been made aware … Continue reading .manifest support in dzPrepBuild