RAD Studio 13.2 November Patch Available – Embarcadero RAD Studio, Delphi, & C++Builder Blogs
r/delphi • u/omonien • 23h ago
I keep seeing TTimer used for things it was never built for, like polling serial ports or driving device protocols. On Windows that often worked well enough. On Android with FMX it easily gets unreliable, because there OnTimer depends on the main thread - which may behave differently than as we know it from Windows desktop app.
So I tried to put together an article explaining what TTimer can do and when to choose something else.
A new release of the Soft4You FMX Control Suite is out: open source FireMonkey controls for Delphi (MPL 2.0, no third-party dependencies). Version 1.2.0 adds more than twenty controls: Card, Toast, Snackbar, Skeleton, Rating, Avatar, Tag, Chip, ChipGroup, ChipEdit, Tooltip, Popover, gauges and meters, step progress bar, pie, bar and line charts, a grid with filters, Button, ComboBox, Layout and FlowLayout.
Every control has a style for each platform, a documentation page and a demo. Packages for Delphi 11, 12 and 13. Tested on Windows and on an Android device; macOS and iOS are not tested yet.
Source: https://github.com/Soft4You-IT/Soft4YouFMXControlSuite
Release notes: https://github.com/Soft4You-IT/Soft4YouFMXControlSuite/releases/tag/v1.2.0
Feedback and bug reports are welcome, especially from macOS and iOS users.
r/delphi • u/Equivalent_Bison_281 • 2d ago
Happy to share ProRock 1.8 - free and open source, now with Calcite for Excel workbooks.
Calcite speaks Excel's own object model - Range, Cells, Value, Formula, NumberFormat, Font, Borders - on .xlsx files, in plain Delphi. Add the source and go: nothing to install.
uses ProRock.Calcite;
var workbook := TWorkbook.Create;
try
if workbook.Open('Sales template.xlsx') then
begin
var sheet := workbook.Worksheets['Sales'];
sheet.Rows['5:6'].Insert; // what is below moves down, a SUM around them grows
sheet['A5'].Value := 'Coffee';
sheet['B5'].Value := 2.5;
workbook.SaveAs('Sales.xlsx');
end;
finally
workbook.Free;
end;Further development ideas I have in mind:
Please try it with your Excel workbooks and let me know what you need or what breaks - it will decide the next steps for Calcite and for ProRock overall.
Source: https://github.com/VitalyPopov/ProRock
Docs: https://prorock.rocks/calcite/
Glad to receive any kind of feedback: an issue, a word, or a star. Thank you! 🤟
I wrote an article on using an alternative for TTimer, why, and provided code for it. Any feedback on the article would be welcomed!
r/delphi • u/buenoudg • 2d ago
Hi everyone,
I'm a university professor in Spain, and I've recently taken on the maintenance of Digital Works, a digital logic circuit design and simulation tool written in Delphi that had been largely unmaintained for more than a decade.
I've been voluntarily fixing bugs and improving the application. With the original authors' permission, I also plan to release its source code under an open-source license. I'd love to get students involved through undergraduate final-year projects and open the door to contributions from the wider Delphi community.
The project is entirely non-commercial and generates no revenue, either for me or for my university.
However, I'm unsure where this fits within Delphi's licensing model. Community Edition seems like a natural choice, but its restrictions regarding organizational revenue and institutional use raise some questions, particularly given my university affiliation and the potential involvement of students.
Would Community Edition be suitable in this situation? Would an academic license be a better option? Are there any special licensing arrangements for non-commercial open-source projects?
I contacted Embarcadero about this almost three weeks ago but haven't received a reply yet, so I thought I'd ask here.
Has anyone faced a similar situation? I'd be interested in hearing how other Delphi developers have approached this, and any input from Embarcadero representatives would also be very welcome.
It would be nice to give an old Delphi application a new lease of life while introducing more students to Delphi in the process.
Thanks!
r/delphi • u/KrocketThaRocket • 2d ago
r/delphi • u/henrickhellstrom • 2d ago
Disclosure: I develop StreamSec Tools, a commercial security library for Delphi (TLS, SSH, X.509/PKIX, CMS, HTTP, mail). Version 4.1.5.365 is out, and it carries everything from 4.1.5.364 as well, which had no post of its own.
How-To documentation
The How to section of the help file (StreamSecTools.chm) now has 61 pages. This release adds 42 How-To pages, each with a Delphi sample that was compiled and run - verifying signed documents, setting up an SSH server, receiving e-mail, deploying Delphi applications, and more - and each links to the component and API reference pages it uses. It is also available online at https://support.streamsec.net/forum/docs/
A security fix for TLS clients
This release also fixes a security defect in the library's TLS client, which affects applications that make TLS connections, HTTPS clients among them. If you build TLS clients with StreamSec Tools, please upgrade.
We will publish a full security advisory, with the details, in about a week. In the meantime we will provide the fix to any customer who contacts us at support@streamsec.se. We cannot tell which customers use the library to build TLS clients, so please get in touch - in particular if you have had a StreamSec Tools 4.x subscription that has since expired and you develop TLS clients such as HTTPS clients - and we will see that you get the fix.
Also in this release (from 4.1.5.364)
TstSFTPClient.Size and an SSH server channel-close race are fixed.Upgrading
Several change-log entries are marked BEHAVIOUR CHANGE; read the ones that apply to you first. The likeliest to matter: a certificate wildcard matches one left-most label only, so *.example.com no longer matches a.b.example.com; an OCSP responder and a certificate's own revocation check can answer "unknown" where a delta CRL or a partition used to count as full coverage; and on POSIX a file held under an fcntl write lock is refused where it was read before.
The SBOM is published for the licensed release and describes none of the evaluation builds.
Happy to answer questions.
r/delphi • u/Ingword21 • 5d ago
I've written Delphi for almost twenty years. My main project today is a large VCL app (Delphi 12, DevExpress, ~237 forms, SQL Server). Claude Code writes and builds code for it, but it had no way to see whether a change actually worked in the GUI. So I built Deskcheck. Disclosure: it's my project, currently in closed beta.
The parts that may interest Delphi people:
Deskcheck.Locator) behind a {$IFDEF DESKCHECK}. A release build has no adapter. In a test build it answers questions over loopback HTTP: what is at this point, where is control X, what is in this grid cell. It never clicks, types, scrolls or focuses anything itself.The full write-up, including what broke along the way: https://medium.com/@instigator21/i-wanted-claude-to-test-its-own-code-four-months-later-i-had-a-windows-gui-testing-framework-af26e3ab05e0
Question for you: the adapter lives inside your application. Would you want it open source so you can extend it for your own components, and under which license?
r/delphi • u/Old-Locksmith-5410 • 6d ago
Instalei o Delphi 12 e quero usar o DOA 4.1.4, como faço para ativar o DOA?
r/delphi • u/SumraTheWriter • 8d ago
Over the past few months, my colleague Burak Umut Yenilmez and I have been building an automated UI testing system for our Delphi VCL desktop application. I built the Delphi side, while Burak handles the C# test runner, and both of us rely heavily on Claude Code in our day-to-day workflow.
Anyone who has tried automating a VCL app from the outside knows the usual headaches: many controls are barely visible to Windows UI Automation, graphic controls like TLabel or TSpeedButton don't have window handles at all, and custom-drawn grids or ribbons just show up as a single opaque rectangle. Worse, Windows only sees generic class names and localized captions rather than the component names you assigned in the IDE—and falling back to screen coordinates breaks the moment someone shifts a panel.
From inside the process, however, all of that metadata is right there: every component has its IDE name, RTTI exposes its properties, and grids know their underlying datasets.
Instead of fighting UIA workarounds, we embedded a lightweight TCP agent (~3,000 lines of Delphi) directly inside the application. It stays completely off by default, starts only with a test command-line flag, binds exclusively to localhost, and answers simple newline-delimited JSON queries:
MainForm.SaveButton on screen, and is it enabled?Crucially, the agent never clicks or types—it is strictly read-only. All physical interaction happens from the C# side via FlaUI using real mouse and keyboard input. It queries the agent for coordinates, moves the cursor, and clicks like an actual user.
A few architectural decisions made the biggest difference in keeping the suite reliable:
Thread.Sleep calls: Before every action, the runner waits until the target form is in the foreground, any busy overlay is gone, and grid row counts have stabilized—holding continuously for 300 ms.We also enforce a strict "definition of done": a test isn't finished until it passes five times in a row against the live application.
I wrote up the full architectural breakdown, JSON examples, and lessons learned here:
r/delphi • u/SumraTheWriter • 9d ago
I have been using Claude Code daily on a large legacy VCL + PostgreSQL project. The problems were mostly Delphi-specific: cp1254 files saved as UTF-8, CRLF broken by `sed -i`, new warnings lost among 2,221 old ones, "unused" code that was actually bound in a DFM.
We ended up with a couple of hooks, a warning-baseline build check, a code-page-safe edit tool and a tool that lists every reference to a routine including DFM bindings and `{$IFDEF}` branches.
Repo: https://github.com/gsut/claude-delphi
Write-up of one bug (TDataSet.Edit on an empty dataset → Insert): https://medium.com/@gokhan.sut_29411/the-empty-twin-rows-using-claude-code-on-a-legacy-delphi-code-base-9d0f7fbd723a
r/delphi • u/VallentaStudio • 10d ago
If you've used TypeScript, C#, Rust, or Java in VS Code or JetBrains IDEs, you've probably gotten used to inlay hints - inline annotations rendered by the editor that show information from a declaration right at the call site, without modifying your actual source code.
I've added Inlay Hints for Object Pascal to Vallenta Studio (my Delphi extension for VS Code).
As far as I know, no other Delphi tool shows inlay hints, RAD Studio 13.2 and DelphiLSP included.
A simple example:
// As written in your .pas file
ClampTemperature(Forecast, -40.0, 50.0);
// Displayed in the editor with inlay hints
ClampTemperature(var Value: Forecast, MinValue: -40.0, MaxValue: 50.0);The language server resolves the routine and VS Code renders the hints inline in a muted style.

var and out marks at the call site
Arguments passed to var or out parameters get a var or out prefix right at the call:
GetTemperatureRange(Station.Readings, out MinTemp, out MaxTemp);
CountWetAndDryDays(Station.Readings, var WetDays, var DryDays);**var and out argument colors **
You also can color var and out arguments directly instead, or combine both the inline mark and the color. (colors are configurable)

Parameter names
Shows parameter names before arguments:

Inline variable types
Shows the inferred type directly after untyped inline var and const declarations and for var loop variables.

Full overview with before/after screenshots and per-setting examples: https://vallenta.de/inlay-hints
VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=VallentaStudio.vallenta-studio
Bug reports and feature requests: https://github.com/Vallenta/Studio/issues
Michael
r/delphi • u/kimmadsen • 10d ago
We’ve released kbmMW 5.25.00 for all editions. If you need to pick up files from a partner over SFTP, accept FTPS uploads, or run a command on a remote machine over SSH, kbmMW now ships both the client and server for each of those jobs. They run on kbmMW’s own socket stack. On Windows, you can use SChannel for TLS without shipping OpenSSL DLLs.
It is also the first release that compiles with both all latest versions of Delphi and MIMERPascal (MIMER Polyglot Compiler).
Some highlights from the release, depending on your licensed edition:
CreateOrUpgradeTable builds the index on SQLite, PostgreSQL, MySQL, SQL Server or Oracle. The same query works across all five, for example SELECT * FROM Article WHERE Article CONTAINS 'delphi -deprecated'.MERGE on supported databases.One setting to check when upgrading an existing service: an IdleTimeoutMS of zero now gives native socket servers a 30-second idle timeout. If your clients routinely stay connected and quiet for longer, set that value explicitly.
Read more here: https://components4developers.blog/2026/11/21/ann-kbmmw-community-professional-and-enterprise-edition-v-5-25-00-released/
r/delphi • u/kimmadsen • 10d ago
We’ve released kbmMemTable 8.25.00. A release that is also first to support MIMERPascal (MIMER Polyglot Compiler) which we will shortly also release an update for.
It includes significant SQL coverage and performance improvements.
In our test with 100,000 rows, looking up a single record took 0.6 ms, down from 40–60 ms. Counting records in a range took 6–8 ms, down from 43–64 ms. If your WHERE clause filters on the first column of a suitable index, your existing query can use it without any SQL changes. The lookup also leaves the dataset’s cursor where it was.
A few other changes that matter in everyday Delphi and FPC code:
OR. You can base it on a filtered index, too. For example, a search over open tickets automatically drops a ticket when it closes and picks it up again if it reopens.ExecSQL calls on versioned memtables. An import can roll back a failed batch to a savepoint and keep the earlier batches.TkbmMemTableJournal writes committed changes in checksummed batches and replays complete batches when the table reopens. You control when changes are flushed to disk.MERGE, UPDATE ... FROM and RETURNING with OLD and NEW values simplify synchronization code. Reports gain named windows, window frames and aggregate filters. Exact NUMERIC and DECIMAL arithmetic is available when standard decimal semantics are selected.One upgrade detail worth checking in existing reports: SUM(amount) OVER (ORDER BY id) now produces a running total, including rows tied on id. If you want the grand total repeated on every row, use SUM(amount) OVER ().
Read more here: https://components4developers.blog/2026/11/20/kbmmemtable-v-8-25-00-standard-and-professional-edition-released/
r/delphi • u/ParnianCoinTeam • 11d ago
Quick one for the Delphi folks — what does this print, and why? 🤔
```
program Challenge;
{$APPTYPE CONSOLE}
uses
System.SysUtils;
type
TParent = class
public
class function WhoAmI: string; virtual;
end;
TChild = class(TParent)
public
class function WhoAmI: string; override;
end;
class function TParent.WhoAmI: string;
begin
Result := 'Parent';
end;
class function TChild.WhoAmI: string;
begin
Result := 'Child';
end;
var
P: TParent;
C: TChild;
begin
P := TParent.Create;
C := TChild.Create;
Writeln(P.WhoAmI); // line 1
Writeln(C.WhoAmI); // line 2
Writeln(TParent(P).WhoAmI); // line 3
Writeln(TParent(C).WhoAmI); // line 4
Readln;
end.
```
r/delphi • u/One_Helicopter2696 • 12d ago
Today I'm releasing River Run, a retro scrolling arcade game I first made back in the 90s as an homage to my favorite Atari 2600 game River Raid. It was shelved for nearly 30 years for a plethora of reasons, and it's finally out today on the MSStore, itch.io, and Google Play, original 1990s soundtrack and all.
Pilot a fighter jet down the big blue watery road, hunting oil spills, with enemies, hazards, fire, and even just the land to worry about. With fuel scarce, be careful not to ignite the oil, as fire damages your plane (real bad). Brand new 24-bit translucent shadows and smoke effects are fused with classic 320x200 8-bit graphics for an out of this world experience, topped off with full force feedback controller support!
It was originally coded in Borland Turbo Pascal 5.5, spent some time in Delphi, and ended up in Lazarus using SDL2 to write one codebase compiled to several platforms!
Get it on the MSStore: https://www.google.com/url?q=https://apps.microsoft.com/detail/9NZ79NWZ2S0C&source=gmail&ust=1795171977256000&sa=E
Trailer: https://www.google.com/url?q=https://1mileupsoftware.com/trailer&source=gmail&ust=1795171977256000&sa=E
Game info and screenshots: https://www.google.com/url?q=https://1mileupsoftware.com/RiverRun.html&source=gmail&ust=1795171977256000&sa=E
Google Play any day now, and coming soon to Steam.
Website: https://1mileupsoftware.com/RiverRun
Cheers,
Steve Barber
r/delphi • u/Delphi2C • 14d ago
I have been developing rule-based Delphi source code converters for many years, including Delphi2Cpp and Delphi2C#.
Recently, I published a free Delphi-to-C# converter, D2CSharp, together with a Delphi-compatible C# runtime library on GitHub:
https://github.com/dm-e/D2CSharp
I have just released a substantial update with improvements to the converter, additional RTL functionality, and more tests.
D2CSharp can be used free of charge to translate your own Delphi code. The runtime library is open source, and contributions are very welcome. The converter itself is distributed as a free executable, but its source code is not included.
However, I would also like to start a broader discussion.
Does it still make sense to develop traditional source code converters now that AI can translate code?
I am not interested in reopening the general debate about whether migrating away from Delphi is a good idea. That has been discussed many times.
Instead, I am interested in the practical question: Once a developer has decided to migrate an existing Delphi application to C# or C++, what is the best approach?
Traditional rule-based converters aim to produce consistent and reproducible translations. AI offers different possibilities, particularly when restructuring code or replacing Delphi-specific constructs with native features of the target language.
But how do these approaches compare when converting larger projects with many interconnected units, complex types, pointers, and dependencies on the Delphi RTL?
Can AI alone handle such migrations reliably, or is there still a useful role for dedicated converters, possibly combined with AI-assisted refactoring?
I would be particularly interested in hearing from developers who have actually attempted such migrations.
What worked, what caused problems, and which approach would you choose today?
And if you are interested in experimenting with D2CSharp or contributing to its free runtime library, you are very welcome to join the project.
r/delphi • u/ParnianCoinTeam • 18d ago
I've been working with Delphi for a while now. Every time I read a thread here I realize how much I still don't know, so I figured I'd just ask.
First, is there a trick or habit you picked up the hard way that you wish someone had told you years ago? It could be anything: debugging, memory management, some weird VCL behavior.
Second, if you could add one thing to Object Pascal, what would it be? I have my own wish list but I'm curious what people who've used it much longer than me would pick.
And last, just out of curiosity, what's the oldest Delphi project you still maintain? I keep hearing about apps from the 90s that are still running somewhere and I honestly find that kind of amazing.
Thanks in advance, looking forward to reading your answers.