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 implemented this fix and it doesn't have any adverse effects on for Windows targets. But neither he nor I can test it for … Continue reading Bug and possible fix for GExperts Filter Exceptions expert – testers needed
Author: dummzeuch
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: DFMCheck. It's in his GitHub repository. Now I have just to figure out how to actually use it. 😉
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 problems. Simply extract the DLL and put it into the GExperts installation directory, replacing the original one. … Continue reading GExperts for Delphi 10.4.1
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 contents of a ZIP file directly from a stream but also extract a file from that stream to a TBytes array, … Continue reading Delphi’s TZipFile working on a stream
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 resets the filter. If you want to discuss this article, you can do so in the corresponding post in … Continue reading Filtering and sorting for the GExperts PE Information Exports list
External Exception $406D1388 in Delphi
Reminder to self: Exception $406D1388 is the exception used to set a name for a thread, like in: [delphi] procedure SetThreadName(const _Name: AnsiString); var ThreadNameInfo: TThreadNameInfo; begin ThreadNameInfo.FType := $1000; ThreadNameInfo.FName := PAnsiChar(_Name); ThreadNameInfo.FThreadID := $FFFFFFFF; ThreadNameInfo.FFlags := 0; try RaiseException($406D1388, 0, SizeOf(ThreadNameInfo) div SizeOf(LongWord), Pointer(@ThreadNameInfo)); except // ignore end; end; [/delphi] If you encounter … Continue reading External Exception $406D1388 in Delphi
IntToHex for UInt64 in Delphi
Just in case I ever need this again: [delphi] function IntToHex(_Value: UInt64): string; overload; var Buf: PUInt32; begin Buf := PUInt32(UInt32(@_Value) + 8); Result := IntToHex(Buf^, 8); Buf := PUInt32(@_Value); Result := Result + IntToHex(Buf^, 8); end; [/delphi] (Delphi 2007 does not have IntToHex for UInt64.) Note: This works only for 32 bit compilers. For … Continue reading IntToHex for UInt64 in Delphi
Compiling TeeChart 2020 for Delphi 2007
We recently bought TeeChart 2020.30 VCL/FMX with full source code (of course) and I now tried to install it. Steema provides a "TeeChart Source Code Recompilation Tool" (TeeRecompile.exe) that supposedly does this for you. This is fine if it works, it's a pain in the lower back if it doesn't. It worked fine for Delphi … Continue reading Compiling TeeChart 2020 for Delphi 2007
New Filter Exceptions expert in GExperts
I my last GExperts related blog post I wrote about the new "Close Exception Notification" expert which I just had added to GExperts. It was a hack that hooked the Exception Notification dialog. This spawned a discussion in the international Delphi Praxis forum and resulted in a rewrite of the expert. It's now called "Filter … Continue reading New Filter Exceptions expert in GExperts
Display text attachments inline in Thunderbird 68 and later
Apparently there has been a change in Thunderbird 68 so it no longer displays text attachments inline even though View -> Display Attachements Inline is turned on. There is a solution to this though: Open Tools -> Options Select the Advanced page Switch to the General tab Start the Config editor (button on the bottom … Continue reading Display text attachments inline in Thunderbird 68 and later