Today I was at the Delphi Frühstück (breakfast) at Comcept GmbH in Cologne. It was quite an inspiring talk there. Thanks to the guys who organized it, I am looking forward to going there again. One of the questions that came up was how to use jclDebug for getting source code location and call stack … Continue reading Using jclDebug
Category: Delphi
Converting from Subversion to Mercurial
Here, I will be posting notes on converting Subversion repositories to Mercurial. NOTE: This is work in progress. I will probably come back and change things as well as adding. Some links on using Mercurial: Hg Init: a Mercurial tutorial by Joel Spolsky QuickStart in the Mercurial Wiki I have got TortoiseSVN 1.8.3 including the … Continue reading Converting from Subversion to Mercurial
Some Batch File Wizardry for Automated Builds
At work and also on my private computer I am maintaining multiple Delphi projects that are (currently) managed in subversion repositories. They have a general structure like this: projectname \- buildtools (-> svn:external) \- src (project sources) \- libs \- dzlib (-> svn:external) \- some other libraries, all svn:external Being a lazy bastard (deutsch: faule … Continue reading Some Batch File Wizardry for Automated Builds
Multiple Batch Files in Pre-/Postbuild Events in Delphi / msbuild
Since version 2007 Delphi supports pre- and postbuild events for projects. If you only want to start programs or one batch file it's a simple matter of adding the call to the respective section of the project options dialog. I use it to manage version numbers in the program resources and manifest files in prebuild … Continue reading Multiple Batch Files in Pre-/Postbuild Events in Delphi / msbuild
Delphi 6 on Windows 8.1 (64 bit)
After getting Delphi 2005/2006 and 2007 working again the last stumbling block was Delphi 6. It used to work fine on Windows 8 but after the update to Windows 8.1 it always started the registration wizard for a new activation. Unfortunately this activation did not work, I tried it twice, just to be sure. So, … Continue reading Delphi 6 on Windows 8.1 (64 bit)
Delphi 2005/2006 on Windows 8.1 (64 bit)
After getting Delphi 2007 to work again I tried to do the same for Delphi 2005 and 2006. Both versions require the dotNET framework 1.1 which is officially no longer supported on Windows 8 (and 8.1). According to Microsoft, you should contact your independent software vendor (ISV) to have the application upgraded to run on … Continue reading Delphi 2005/2006 on Windows 8.1 (64 bit)
Delphi 2007 on Windows 8.1 (64 bit)
When I updated to Windows 8.1 my Delphi 2007 installation broke. I could no longer open projects in the IDE and my command line compilation scripts also stopped working. It turned out that some files that were added by the installer to the dotNET framework were missing. In addition there is a known problem with … Continue reading Delphi 2007 on Windows 8.1 (64 bit)
jiggling the mouse
Did you ever want to prevent the screen saver to start because your program is displaying something and you didn't want to force the user to move the mouse every now and then? Until Windows XP it was possible to prevent the screen saver from becoming active by just handling the WM_SYSCOMMAND message with wParam … Continue reading jiggling the mouse
tdbf updates – help required
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