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
Category: Delphi
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
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
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
3.5 gigabyte text file – meet LargeTextViewer
Recently a customer sent me an XML file which was 3.5 gigabyte in size. I had to parse this file and met some new challenges. The first one was that I did not have any tool to display a file that large. All text editors balked at it and the few viewers (for Windows) that … Continue reading 3.5 gigabyte text file – meet LargeTextViewer
Delphi Help Expert
Content moved here.