The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for the ‘Delphi’ Category

Anyone any idea on the contributions of Embarcadero to the LLVM project?

Posted by jpluimers on 2025/04/30

With the huge dependency of Delphi on the LLVM project – basically none of their cross-platform support falls apart without LLVL – I wonder how much Embarcadero and their. mother company Idera contributed back to the LLVM project (which isn’t hard, see [Wayback/Archive] Contributing to LLVM — LLVM 20.0.0git documentation).

I tried these queries with remarkably few results:

The ones found were contributed by [Wayback/Archive] jwiegley (John Wiegley) · GitHub and [Wayback/Archive] atoker · GitHub. I could not find back who atoker is, but John Wiegley was part of the C++ Builder 1 team [Wayback/Archive] The C++Builder 25th Anniversary: Visual Development, the Power of the C++ Language and 2.5 decades of Continuing Excellence but made the patches while working for Boostpro, for instance [Wayback/Archive] [cfe-commits] PATCH [1/2]: Implementation of Embarcadero expression traits.

Hoping the above queries are not good enough: anyone having a more complete idea of the Embarcadero/Idera contributions to the LLVM project?

Especially in the light of this bsky post a while ago:

Read the rest of this entry »

Posted in C++, C++ Builder, Delphi, Development, Software Development | Leave a Comment »

Delphi 2006 Hidden COM Registry Entries

Posted by jpluimers on 2025/04/29

Somewhere in the drafts was a note to refer to an old Chris Bensen blog post on the Embarcadero server: blogs.embarcadero.com/cbensen/2005/12/07/22388

Alas, a lot of Embarcadero stuff is gone, some because of Idera not caring, others because as of Codegear, the team never was good at keeping infrastructure alive, nor cater for proper archiging at the Wayback Machine.

Luckily, the Borland days were different, as I found by browsing web.archive.org/web//http://blogs.borland.com/: almost 10k archived pages!

Searching for cbensen or 22388 then got me the actual post [Wayback/Archive] Delphi 2006 Hidden COM Registry Entries (the last link is dead, the others not indexed by search engines) and quoted below while adding some formatting: Read the rest of this entry »

Posted in Delphi, Delphi 2006, Development, Software Development | Leave a Comment »

Finding most recent forks of gists and github repositories

Posted by jpluimers on 2025/04/24

A while ago I found out that gist.github.com/lynatan/673e574faa8343fa01d7a91e75065c54 which I mentioned before in Delphi analog to C# ?? null-coalescing operator and Light Table like debugger evaluation and I wanted to

  1. find it back
  2. find the most recent forks of it

The reason was that I was working on the [WaybackSave/Archive] bit Time Professionals on X: “Live now: “Hidden Gems of Delphi Language: Operator Overloading and Class/Record helpers” @jpluimers” session which I presented at [Wayback/Archive] ITDevCon 2024 | Home where I also could enjoy the company of the other [Wayback/Archive] ITDevCon 2024 | Speakers and the famous [Wayback/Archive] IT DevCon 2024 speaker dinner (which attendees can also join for a slight surcharge).

The presentation is at [Wayback/Archive] ITDevCon2024/delphi_language_hidden_gems/delphi_language_hidden_gems.md at main · jpluimers/ITDevCon2024 · GitHub and pictures of the event at [Wayback/Archive] ITDevCon2024 – Google Photos.

Back to the problem at hand

Read the rest of this entry »

Posted in Conference Topics, Conferences, Delphi, Development, DVCS - Distributed Version Control, Event, gist, GitHub, ITDevCon, Software Development, Source Code Management | Leave a Comment »

Delphi “array of const” to “varargs” – Stack Overflow

Posted by jpluimers on 2025/04/16

Just in case I ever think “oh, I might try want to go the Variadic function arguments way in Delphi” again, I must remember “maybe not a good idea” and re-read these posts:

Note that this example, despite the description indicates it is, it is actually not varargs by array of const (which requires using TVarRec as under the hood it is an open array of TVarRec): [Wayback/Archive] How to create functions that can accept variable number of parameters such as Format().

Then some Free Pascal links, which is different from, but also similar to Delphi:

Queries:

--jeroen

Posted in .NET, C, C#, Delphi, Development, FreePascal, Pascal, Software Development | Leave a Comment »

Run Windows 3.1 in True-Colour Full HD: GitHub – PluMGMK/vbesvga.drv: Modern Generic SVGA driver for Windows 3.1

Posted by jpluimers on 2025/04/09

This is soooo cool: [Wayback/Archive] GitHub – PluMGMK/vbesvga.drv: Modern Generic SVGA driver for Windows 3.1

Modern Generic SVGA driver for Windows 3.1
This is a rewrite of the Windows 3.1 SVGA driver, designed to support ALL available 8-bit, 16-bit, 24-bit or 32-bit graphic modes on any system providing the VESA BIOS Extensions (hence the VBE in the name). It is based on the Video 7 SVGA driver included in the Win16 Driver Development Kit, with most of the hardware-specific code gutted out, and with support added for multi-byte pixels.

Related:

It reminds me of other endevours to keep retro-software easy to use: Read the rest of this entry »

Posted in Assembly Language, Delphi, Delphi 1, Development, Power User, Software Development, Windows, Windows 3.11, x86 | Leave a Comment »

From Turbo Pascal to Delphi to C# to TypeScript, an interview with PL legend Anders Hejlsberg – YouTube

Posted by jpluimers on 2025/04/09

Nice historic perspective: [Wayback/Archive] From Turbo Pascal to Delphi to C# to TypeScript, an interview with PL legend Anders Hejlsberg – YouTube

Via [Wayback/Archive] Zack Urlocker on Twitter: “Great interview with @ahejlsberg on the evolution of programming languages, the rise of TypeScript and more. Anders is one of the best programmers I ever worked with. …”

--jeroen

Posted in .NET, Borland Pascal, C#, Delphi, Development, History, JavaScript/ECMAScript, MS-DOS, Pascal, Scripting, Software Development, Turbo Pascal, TypeScript, Windows Development | Leave a Comment »

Online Delphi manuals

Posted by jpluimers on 2025/04/03

When you look at the History of Delphi (software) – Wikipedia, the real innovation – including Borland Kylix – was during the Early Borland Years fading later with three temporary surges, the first being the Delphi .NET support introduced in Delphi 7 and Delphi 8 happening too late during the Later Borland Years, then during the Embarcadero Years support for Unicode and Generics both in Delphi 2009 and followed by a the struggle of their cross platform compilers and (externally bought) FireMonkey vector-based GUI support independent from the Windows API in the XE series of Delphi versions. The Idera Years did not bring any real innovation: just minor updates presented as major ones.

This went hand-in hand with their then flagship relational database InterBase dwindling down after first open sourcing InterBase version 6 in 2000, then closed sourcing it again (sparking the Firebird database development ) with latest versions were years apart: 2020, 2017 and XE7.

This more or less stalled innovation means that older Delphi manuals and books stay relevant despite their physical copies having been long out of print, and made their way as PDF files on the internet.

So, for my link archive:

Read the rest of this entry »

Posted in Delphi, Development, Software Development | Leave a Comment »

Laurensvanrun/Delphi-Promises: Delphi implementation of promises for asynchronous programming.

Posted by jpluimers on 2025/03/19

On my research list after making this short note April 2024: [Wayback/Archive] GitHub – Laurensvanrun/Delphi-Promises: Delphi implementation of promises for asynchronous programming.

My first impression is that this might be on the same level of usefulness and influention as these two:

Notes:

Read the rest of this entry »

Posted in Conference Topics, Conferences, Delphi, Development, EKON, Event, ITDevCon, Software Development | Tagged: , | Leave a Comment »

Writing a tool that restarts the Google Chat desktop app Window (and hopefully the Google Duo desktop app Window too) and some EnumWindows/EnumChildWindows tricks

Posted by jpluimers on 2025/03/19

Earlier this months I wrote Writing a tool that restarts the Google Chat desktop app Window (and hopefully the Google Duo desktop app Window too) promising I would rewrite the Delphi code into C# and integrate it into PowerShell.

This is the beginning on porting the basics of the Delphi code (which had a flaw!) to C# and contains EnumWindows/EnumChildWindows and error handling tricks and tips.

Read the rest of this entry »

Posted in .NET, C#, Conference Topics, Conferences, Delphi, Development, Event, PowerShell, Scripting, Software Development, __Unfinished | Tagged: , , | Leave a Comment »

For my link archive: Counting the leading zeroes and ones in a binary number with C#

Posted by jpluimers on 2025/03/13

From a while back, but still interesting:

  1. [Wayback/Archive] Counting the leading zeroes in a binary number with C#
  2. [Wayback/Archive] c# – Getting the number of leading 1 bits – Stack Overflow (thanks [Wayback/Archive] Barry Kelly and [Wayback/Archive] SoapBox)

Especially the first link explains the algorithm very well and is similar to links referred to from the Stack Overflow question as it is based on counting ones (and leading ones are basically leading zeros but bit-inverted).

It also explains a cool thing for leading zeros: modern CPU have instructions which .NET Core.

Read the rest of this entry »

Posted in .NET, AArch64/arm64, Algorithms, ARM, Assembly Language, C, C#, C++, Delphi, Development, Software Development, x64, x86 | Tagged: , , | Leave a Comment »