Codegear Rad Studio 2009 -update 1-4- 12.0.3420.21218.1 | 720p – FHD |
“We don’t rewrite,” Aris said. He opened the CPU window—the raw assembly view. Then he opened the Project > Options > Compiler dialog. He unchecked “Optimization,” checked “Stack Frames,” and set “Record Field Alignment” to 1 byte.
And in the basement, under the hum of the Faraday cage, the last true build of Delphi slept—waiting for the next time the world forgot its own past.
The corrupted DLL was calling a function named GetWaterFlow . But the original GetWaterFlow expected a PChar with a trailing null. The new DLL passed a String . In every other version of Delphi, that was fine—they were compatible. But in 12.0.3420.21218.1, the compiler's internal TObject.Free method had a one-cycle delay before releasing the string’s reference count. It was a threading bug that had been fixed in Update 5, which was never released. CodeGear RAD Studio 2009 -Update 1-4- 12.0.3420.21218.1
He injected a single inline assembly block into the GetWaterFlow function:
He wasn’t a programmer for money anymore. He was a custodian. The city’s water purification grid, installed in 2009 and never upgraded, still ran on a distributed control system written entirely in Object Pascal. Its heart was a single executable compiled by that exact version of RAD Studio. “We don’t rewrite,” Aris said
He copied the new DLL over the network. The main terminal flickered. For three agonizing seconds, the pressure gauges spun like runaway clocks.
asm NOP NOP // Restore the original 1-cycle delay MOV EAX, [EBP - $04] DEC EAX MOV [EBP - $04], EAX end; He hit . The old C++ linker clattered to life. The executable was generated in 6.3 seconds—exactly as it had been fifteen years ago. But the original GetWaterFlow expected a PChar with
To anyone else, it was a relic—a fossil from the twilight of the Win32 era, long buried under layers of .NET, mobile frameworks, and web containers. But to Aris, it was the Lexicon Arcanum , the last stable compiler that could talk to the deep machinery of the world.