Pointers can be really helpful, especially they can improve performance and readability, but they are also dangerous. I spent nearly a day tracking down the reason why the code a former colleague wrote about 5 years ago all of a sudden led to access violations. The code used to work fine, the problem only surfaced … Continue reading Pointers are dangerous
Month: December 2018
Remembering an Application’s Size and Position on Multiple Screens
David Hoyle just blogged about this topic (go ahead, read it first but remember to come back. đ ) https://www.davidghoyle.co.uk/WordPress/?p=2100 Welcome back. I think he is making two mistakes here (for suitable definitions of "mistake"): Don't store the form positions in an ini file, use the registry. These positions make sense only on the same … Continue reading Remembering an Application’s Size and Position on Multiple Screens
Delphi IDE Explorer is broken in Delphi 10.3 Rio
I just found out what is wrong with my Delphi IDE Explorer in Delphi 10.3 Rio. The symptom is that the Follow Focus option and the Select Active button no longer work in some forms, in particular in the options dialog (Tools -> Options / Run -> Parameters / Project -> Options). The reason is … Continue reading Delphi IDE Explorer is broken in Delphi 10.3 Rio
GExperts 1.3.12 beta 3 for Delphi 10.3 Rio available
Edit: There is a release version now! I have just uploaded the third beta version of GExperts 1.3.12 for Delphi 10.3 Rio. NOTE: This is still a BETA! Also note that this is for Delphi 10.3 Rio only. It wonât work with any other versions. This beta release contains a (ugly) work around for the … Continue reading GExperts 1.3.12 beta 3 for Delphi 10.3 Rio available
Using dxgettext on Windows 10
The dxGetText installer available from SourceForge has been quite outdated for a while. Via this StackOverflow answer I got this link, where somebody actually went through the trouble to update the tools and create a new installer for them. He also provides the sources he used for the tools. I hope they are based on … Continue reading Using dxgettext on Windows 10
Conditional compilation for various Delphi versions
If you are maintaining a library, component or plugin for various Delphi versions you will sooner or later hit a point where it becomes necessary to have different code for some of them. Some examples are: The constants faTemporary and faSymlink are only declared in Delphi 2009 and later, so you have to declare them … Continue reading Conditional compilation for various Delphi versions
GExperts 1.3.12 beta 2 for Delphi 10.3 Rio available
Edit: There is a release version now! I have just uploaded the second beta version of GExperts 1.3.12 for Delphi 10.3 Rio. NOTE: This is still a BETA! Also note that this is for Delphi 10.3 Rio only. It won't work with any other versions. Beware of bugs, e.g. the Goto-Dialog enhancements still cause redraw … Continue reading GExperts 1.3.12 beta 2 for Delphi 10.3 Rio available
When the stand alone GExperts Experts Manager fails
There have been multiple bug reports regarding the stand alone Experts Manager that comes with GExperts. They all have in common that they fail with the error Expertmanager: ExpertManager.exe - System Error The program can't start because vclactnband250.bpl is missing from your computer. Try reinstalling the program to fix this problem. Or similar messages giving … Continue reading When the stand alone GExperts Experts Manager fails