Delphi RTL TZipFile Security Patch – Embarcadero RAD Studio, Delphi, & C++Builder Blogs
r/delphi • u/Old-Locksmith-5410 • 20h ago
Instalei o Delphi 12 e quero usar o DOA 4.1.4, como faço para ativar o DOA?
r/delphi • u/SumraTheWriter • 2d 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 • 3d 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 • 4d 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 • 5d 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 • 5d 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 • 5d 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/Delphi2C • 8d 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 • 12d 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.
r/delphi • u/finalbuilder • 14d ago
r/delphi • u/kimmadsen • 14d ago

You ship 600MB of runtimes to execute 50KB of logic. Why?
Electron + Node + bundled CPython + CFFI + a Vulkan SDK + Docker to keep AI-written scripts from nuking the host. That is the "modern" stack.
I took the opposite bet and built my own, top to bottom. Coming up in MIMERCode 1.40 and the next MIMER Polyglot Compiler beta:
- 10 languages (MimerCode, Object Pascal, C, Python, JavaScript, BASIC, Fortran, Java, C#, CLI/IL) compiled to ONE dependency-free native executable: Windows, Linux x64 and ARM64, and bare-metal ESP32
- Cross-language calls by plain source import
- One GUI description, served as a native window or as a multi-user web app, with zero HTML, JavaScript or CSS
- 40+ deny-by-default channels: databases, Vulkan 3D, GIS, CAD, industrial I/O, mail, SSH
- Run a GGUF model locally, call a hosted one, or fine-tune one, from inside your app
- Compiled Python about 20x faster than CPython on my numeric benchmark corpus
The trade-off is honest: this is not a home for `pip install pytorch`. It is vertical integration instead of dependency hell.
I wrote up the full argument, and yes, it is opinionated 👇
#compilers #delphi #pascal #AI #softwareengineering
r/delphi • u/Striking_Fun360 • 14d ago
I need an ODBC 32 bit driver for MySQL. Where can I find that? I have the 64 bit, but it won't work with my Delphi 10.2. Thanks in advance for your help.
r/delphi • u/Striking_Fun360 • 14d ago
I have some old programs written in Delphi 10.2 and after many Windows updates, I have lost the components that I built. Since I use these in my software, I need my library back. Also, when I start Delphi, I get the error in the picture. Below the picture is some of the text I get from the URL.

window._cf_chl_opt._c5ffd9f2bd972d917377e7b8=false;window._cf_chl_opt._00ad1ab20439348ecf6052ce=false;window._cf_chl_opt._e8973c553295cbb0e947a8ed=false;window._cf_chl_opt._9462a494c53affb422b58b7b=[];window._cf_chl_opt._25c48edcaa1c5f265f86ad53="challenges.cloudflare.com";window._cf_chl_opt._b06ffe9637cae679bedecccb={"_431361b1438c22ba0b5edbef":{"_ffe5572c48c4006953a1ea6c":"%2Fcdn-cgi%2Fchallenge-platform%2Fhelp","_e0029a9e5c0eeb4f71217a9c":"https%3A%2F%2Fdevelopers.cloudflare.com%2Ffundamentals%2Fget-started%2Fconcepts%2Fcloudflare-challenges%2F%23browser-support","_21be668b924459f0725afbf8":"https%3A%2F%2Funbotnet.me","_6c80d34bf5264d885678451a":"https%3A%2F%2Fwww.cloudflare.com%2Fprivacypolicy%2F"},"_4c482aba92dc952b32bde90e":{"_daec19a94b6032f2b95d44fa":"%2C%20opens%20in%20a%20new%20tab","_aa2f20de3c989a5257364029":"For%20detailed%20guidance%20on%20how%20to%20update%20your%20device%E2%80%99s%20time%20and%20date%2C%20refer%20to%20your%20device%27s%20documentation%20or%20support%20website.","_5510b255c1c1aa33d41b1a64":"What%20to%20do%20next%3A","_c5d4b6932a2fd63461ea5eac":"This%20verification%20can%20take%20longer%20due%20to%20an%20older%20computer%20or%20a%20slow%20internet%20connection.","_385d70716203cc39f0e29d12":"Privacy","_3957
Questions:
1. What does the error mean?
2. If I click Yes, how will that affect the compile/build?
3. Do I need to re-install?
4. If I uninstall, will, I be able to re-install?r/delphi • u/MrSw-It • 14d ago
I've just released the first public version of a suite of native FireMonkey controls, in pure Delphi with no third-party dependencies:
There are packages for Delphi 11, 12 and 13 (including the 64-bit IDE). The license is MPL 2.0, so the controls can be used in commercial apps. I've tested it on Windows so far; feedback from macOS, iOS and Android is very welcome.
DaisyUI is a set of UI components for Delphi VCL and FMX. This is a large set of components to emulate Tailwind CSS/DaisyUI.
r/delphi • u/ansikun • 16d ago
I posted v26.01 here in May. The 26.06 release adds SDK-style encoder and decoder handles alongside the TLzma2 stream API. The low-level units include LzmaLib, Lzma86, and a threaded LZMA2 pull decoder.
Standalone .lzma compression can now run match finding on a worker thread.
The CLI has a --memory-limit option for codec allocations.
The VCL app moved from Skia to Direct2D and gained a benchmark tab and language search. Signed builds are available for both tools.

r/delphi • u/henrickhellstrom • 16d ago
Disclosure: I develop StreamSec Tools, a commercial security library for Delphi (TLS, SSH, X.509/PKIX, CMS, HTTP, mail). Version 4.1.5.363 came out on 9 November. It has no new major features: it is a maintenance release of 100 change-log entries.
**Certificate revocation**
- `LoadCRL` now compares an authenticated CRL with the list held and every list of that issuer and scope in its cache directory, and refuses an older one, also after a restart.
- A certificate store kept answering from a stored revocation verdict for up to `RevocationCacheMaxAge` seconds after a new CRL arrived. A new CRL now ends that.
- A TLS peer whose certificate the store already held had no revocation check, and was accepted after that certificate expired. Both are fixed, with the two known limits the change log states at entry 98.
- The chain check read only the CRLs of the store it ran in, so a CRL held in the store it delegates to did not count against an intermediate CA. It does now.
**TLS**
A TLS 1.3 client did not check the server certificate's EKU or key usage, and TLS 1.2 skipped that for a certificate the engine already knew. Both now check every server certificate.
**Mail**
IMAP `FETCH` now takes the body section forms clients use to list and read messages, sessions are told of new mail, the submission port requires authentication or an address in `RelayNetworks`, an account may give only its own address in `MAIL FROM`, and wrong passwords lock out the source address and not the account.
**A Delphi detail you may want to look for in your own code**
On Linux64, macOS, iOS and Android we called `TTimeZone.Local.UtcOffset.Hours`. `Hours` is the hours component of a `TTimeSpan`, not its length, so at +5:30 it gives 5. The UTC the library worked out was 30 or 45 minutes off in zones with a half or quarter hour.
**Upgrading**
65 of the 100 entries are marked BEHAVIOUR CHANGE in the change log, 46 of them in the mail suite. Read the ones that apply to you first. The likeliest to matter: one `LoadCRL` cache file name per issuer and scope, a handshake with an already known peer can now be refused, `DNSNameToCheck` takes a bare host name, and an access violation on a mail thread now ends the process.
The SBOM is published for the licensed release and describes none of the evaluation builds.
Happy to answer questions.
- Announcement, with the change log and SBOM: https://support.streamsec.net/forum/?cmd=viewtopic§ion_id=4&topic_id=17
- PKIX: https://www.streamsec.com/index.php?id=strsecivpkix
- Mail: https://www.streamsec.com/index.php?id=strsecivmail
- Evaluation builds: https://www.streamsec.com/index.php?id=downloadstrseciv
r/delphi • u/Realistic-Bench-9942 • 17d ago
Small demo to combine both component libraries, TeeChart plots the output of SmartCore AI chat results.
https://github.com/Steema/TeeChart-VCL-FMX-Samples/tree/main/VCL/SmartCoreAI
This example shows how to use the Embarcadero SmartCore AI components and charting the results using TeeChart.
Components used:
AIChatAgent1.Instructions.Text :=
'You are a careful business data analyst. Reply first with one valid JSON array of metric objects, no markdown fences.
Each object has metric (short name), value (number), unit (short unit), notes (short explanation).
Example: [{"metric":"Revenue","value":1250.5,"unit":"USD","notes":"Q1 estimate"}].
Then add a short plain-English explanation after the array.
Use numerical values grounded in the user request; when data is missing,
clearly state assumptions and use an illustrative estimate.';