Quantcast
Channel: Delphi – twm's blog
Browsing all 357 articles
Browse latest View live

Updating to Windows 10 broke Delphi 6 and 2007 again

Since Microsoft will end the free support for Windows 7 in January 2020, we are updating all our computers to Windows 10 (I would really have liked to avoid that. Windows 7 is definitely not the best...

View Article


Image may be NSFW.
Clik here to view.

The annoying problem of the growing GExperts menu

As I add new functionality to GExperts the menu it displays grows larger and larger. On small monitors (there are still computers with e.g. 1024×600 pixels screen size in use, usually not with the...

View Article


DUnit Folder Iterator Extension

In 2012 Uwe Raabe blogged about an extension to the DUnit framework he had written. He mentioned it today in the German Delphi Praxis forum. Guess what? It’s brilliant. It does exactly what I always...

View Article

Image may be NSFW.
Clik here to view.

Building a project in Delphi 10.3 fails if the build script output contains...

I just had a nasty surprise with Delphi 10.3 when trying to build a project that worked fine with previous Delphi versions. The problem turned out the text one of my pre build events wrote to the...

View Article

How the handle declarations changed in Delphi

Delphi has had a THandle type for a long time (at least since Delphi 6) but didn’t use it consistently. I just had to check those declarations for various Delphi versions in order to get rid of compile...

View Article


Delphi is 25 years old

Everybody seems to be blogging about Delphi having been around for 25 years, so I won’t stay back and tell some of my story. When I finished university and started a job, Delphi was just about being...

View Article

TStringList vs. THashedStringList vs. TDictionary

Prompted by this post on the topic “As a Delphi expert, do you ever need to refactor or improve your code?” in the international Delphi Praxis forum I did some timing to compare the performance of data...

View Article

IntToHex for UInt64 in Delphi

Just in case I ever need this again: function IntToHex(_Value: UInt64): string; overload; var Buf: PUInt32; begin Buf := PUInt32(UInt32(@_Value) + 8); Result := IntToHex(Buf^, 8); Buf :=...

View Article


External Exception $406D1388 in Delphi

Reminder to self: Exception $406D1388 is the exception used to set a name for a thread, like in: procedure SetThreadName(const _Name: AnsiString); var ThreadNameInfo: TThreadNameInfo; begin...

View Article


Image may be NSFW.
Clik here to view.

Filtering and sorting for the GExperts PE Information Exports list

The GExperts PE Information tool just got a small improvement: The Exports list can now be sorted by clicking on the column header and filtered on the export name by simply typing text. The Escape key...

View Article

Delphi’s TZipFile working on a stream

Recent versions of Delphi (for a suitable definition of “recent”) come with a TZipFile class implemented in the unit System.Zip. This class has the really neat feature that it can not only read the...

View Article

GExperts for Delphi 10.4.1

I have received a few reports about bugs in GExperts in Delphi 10.4.1 that do not occur in Delphi 10.4. Here is a GExperts DLL that was compiled with Delphi 10.4.1. Maybe it will solve some of theses...

View Article

Source code for Andreas Hausladen’s DfmCheck available

Andreas Hausladen – most probably know him because he wrote the very popular Delphi IDE Fixpack – has just announced (in German) that he published the source code of one of his other useful tools:...

View Article


Bug and possible fix for GExperts Filter Exceptions expert – testers needed

Mahdi Safsafi has proposed a fix for the bug in the GExperts Filter Exceptions expert, which occurs when developing for non Windows targets (first reported on Embarcadero’s quality portal ). I have...

View Article

GExperts 1.3.17 experimental twm 2020-10-23 released

Guess what? The new GExperts release is here. There are lots of bug fixes and a few new features in the new version. The major new feature is the Filter Exceptions expert. Please be warned that there...

View Article


Image may be NSFW.
Clik here to view.

PortableAppsToStartMenu 1.0.0

Tired of all those programs which install lots of additional stuff I have been using more and more so called “Portable Apps”. “Portable” in this context means: You can put them anywhere, even on a...

View Article

Black Friday discount on GExperts

Joining in on the black Friday craze I am hereby offering a 90% discount on GExperts. Valid indefinitely. You only need to compile it yourself. (Sorry, could not resist. 😉 )

View Article


Migrating GExperts settings

Somebody just asked me whether there is a simple way to migrate GExperts settings from Delphi XE7 to a new version. The short answer is: No, but some experts (or rather: some functionality, because not...

View Article

New GExperts frequently asked questions page

Tired of answering the same questions over and over again, I have just added a GExperts frequently asked questions page. There is also a link to that page in the menu.

View Article

Image may be NSFW.
Clik here to view.

New Explicit Properties Filter expert in GExperts

I never understood the benefit of writing the ExplicitLeft / Top / Width / Height properties for TControl and descendants, which were added in Delphi 2007, to the dfm files. They store the control’s...

View Article
Browsing all 357 articles
Browse latest View live


Latest Images