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
Month: July 2020
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
GExperts supports even more laziness
I got into programming because I am lazy, I'd rather have the computer do the boring work than doing it myself. So it's no wonder that I always liked Delphi and GExperts because both support my laziness. Today I added yet another feature to save me a key stroke or mouse click: The "Close Exception … Continue reading GExperts supports even more laziness