In the comments to my Google+ post announcing my blog post on Hacking the Delphi 10 Project Options dialog Ondrej Kelle said: If two or more plugins hijack the same global event handler then they must restore the previous (from their point of view) handler in reverse order, however this is not guaranteed and therefore … Continue reading Safe event hooking and unhooking (for Delphi IDE plugins)
Month: October 2015
How to disable update checking in TortoiseSVN?
The latest 1.9.x versions of TortoiseSVN no longer support Windows XP (1.8.12 was the last one that did). Since some of the computers I work with are stuck with XP there isn't much sense in having it check for updates automatically. Older versions of TortoiseSVN used to have a check box on the settings "General" … Continue reading How to disable update checking in TortoiseSVN?
Hacking the Delphi 10 Project Options dialog
Today I wanted to do something I did before: Add a drop file handler to an edit control in a dialog of the Delphi IDE. The dialog in question is the the Project Options dialog. I thought it would be pretty simple to do that: Get the dialog instance from Screen.Forms list. Get the edit … Continue reading Hacking the Delphi 10 Project Options dialog
Entry Point Not Found in dbkdebugide220.bpl
Note to self: If you encounter the error bds.exe - Entry Point Not Found The procedure entry point @System@Sysutils@Exception@GetBaseException$qqrv could not be located in the dynamic link library C:\Delphi\DelphiXE8\bin\dbkdebugide220.bpl. while trying to debug an IDE Expert for Delphi 10 Seattle: Check the host application you put into the Run -> Parameters dialog! Chances are you … Continue reading Entry Point Not Found in dbkdebugide220.bpl
Experimental GExperts Version 1.38 2015-10-10 released
There is nothing new about the formatter code. But there are two new GExpert functions and I also improved several GExperts dialogs: The first new functionality is hiding the navigation bar in Delphi 10 Seattle. The code was kindly donated by Achim Kalwa. You can find the option in the GExperts configuration dialog on the … Continue reading Experimental GExperts Version 1.38 2015-10-10 released
New buildtools script PrepareForTranslation.cmd
In Using my buildtools I wrote that you must prepare your project for translation with dxgettext manually. No longer, there is now a script PrepareForTranslation.cmd that does it for you.
Batch wizardry: Finding a subdir in all parent dirs
As an addition to Using my buildtools here is a batch subroutine to find a subdirectory in any of the parent directories of a script: :FindInParents @rem search all parent directories for a subdir and return @rem the full path to that directory in %result% setlocal set parentdir=%1% set subdir=%2% :loop call :GetDir %parentdir% set … Continue reading Batch wizardry: Finding a subdir in all parent dirs