He commented out the entire DrawText block. He replaced it with TTextMetric calls that were deprecated in Windows 10 but still worked . He added compiler directives:
end.
He recompiled the entire QuickReport source with this patch injected. The E2003 vanished. But then came the avalanche: E2010 Incompatible types: 'HPEN' and 'TFont' in QRExpImg.pas . The image exporter was trying to use GDI pens on GDI+ fonts. UPD’s updated TMetafile handling had stricter type checking.
Marco wasn't just a developer; he was the caretaker of legacy. He’d inherited the Silverpoint Logistics codebase from three generations of programmers who had all sworn the same oath: “Don’t touch the reports.”