INI files, once the most used way for storing program configurations, are still popular due to their simplicity. Delphi offers two ways for accessing them: TIniFile - which uses the Windows API functions WritePrivateProfileString / GetPrivateProfileString TMemIniFile - which is implemented in Delphi and optimized for speed. If you only want to read or write … Continue reading Writing large INI files
Author: dummzeuch
Getting the system boot time in Windows
Today I needed to get the system boot time of my computer. You can either open the system log and look for the entries a Windows start up writes there, or you can let a tool do the work: @echo off systeminfo | find "System Boot Time" pause In my case the result looks like … Continue reading Getting the system boot time in Windows
New GExperts IDE form enhancement for the Goto dialog
GExperts has got several options to enhance various IDE forms. They can be enabled and disabled on the configuration dialog's IDE tab. There is now a new one: Enhance Goto dialog. It's the dialog you get when selecting Search -> Go to Line Number which looks like this in it's original full glory: It hasn't … Continue reading New GExperts IDE form enhancement for the Goto dialog
Delphi Live Templates: raise exception.CreateFmt
Delphi (XE2) comes with various predefined so called live templates which you can display with View->Templates. One of them is called "raise" and expands to [delphi] raise exception.Create('Error Message'); [/delphi] I don't know about you but I use Exception.CreateFmt much more often than simply Exception.Create, so it annoys the hell out of me when every … Continue reading Delphi Live Templates: raise exception.CreateFmt
GExperts 1.38 experimental twm 2016-10-03 released
I must admit I'm getting tired of waiting for Erik to make a new official GExperts release. So, here is another experimental one. The motive for making this release is twofold: The Delphi 10.1 Berlin update 1 for which I released a hotfix A bug I discovered and fixed yesterday that caused GExperts to crash … Continue reading GExperts 1.38 experimental twm 2016-10-03 released
dzMdbViewer 1.0.2 released
dzMdbViewer is a small tool I wrote, when I was stuck without a MS Access installation but needed to have a look into a .MDB file (and later .ACCDB file, if the Access Database Engine 2012 is installed). It can open these files and display a list of queries and tables stored in them as … Continue reading dzMdbViewer 1.0.2 released
First steps with REST and JSON
I must admit that I haven't done much programming regarding the web. There was an attempt to write an RSS reader some time back and there is my virtual radio alarm clock (with which I'm currently listening to SWR3). But this is my first try to do something with REST and JSON. The server side … Continue reading First steps with REST and JSON
Hotfix for GExperts crashing with Delphi 10.1 update 1
GExperts 1.38 experimental twm 2016-09-18 has a few issues with Delphi / Rad Studio 10.1 Berlin Update 1. Simply recompiling the DLL made them go away for me, so I provide the recompiled DLL as a hotfix for this release. Go the release page to get it.
GExperts 1.38 experimental twm 2016-09-18 released
Since apparently Erik needs more time for the official GExperts 1.39 release, here is another experimental test release. Please report any bugs you may find (preferentially in the GExperts community on Google+ or the bug tracker on SourceForge) Again, I have built installers for each Delphi version. These installers should install everything that is necessary, … Continue reading GExperts 1.38 experimental twm 2016-09-18 released
GExperts IFDEF Expert support for include files
The GExperts IFDEF expert now supports include files. For each include file in the current unit it displays an additional tab containing all symbols defined in that include file with {$DEFINE }, {$UNDEF } and the usual disabled notation of these {.$DEFINE }, {.$UNDEF }. It searches for the include files in the search path … Continue reading GExperts IFDEF Expert support for include files