jpluimers
Reminder to self: write some more about the IsBinaryDfmFile and ConvertDfmToText tools in [WayBack] jeroenp / wiert.me / Native / Delphi / Apps / Console / DfmTools — Bitbucket –jeroen … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
I had a “W1030 invalid compiler directive true” in a project that got ported from Delphi XE3 to a much more modern Delphi version. Luckily I found [WayBack] Porting to XE5 and the “W1030 Invalid compiler directive: ‘true’”… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
If you have a class (like TMyClass) in the current unit, you can get the unit name as follows: inside a method of the class (either instance or class method): call UnitName or UnitScope to get the… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
A while ago, I saw this tweet: Assembly has been out for 70 years. Fortran has been out for 62 years. COBOL and Lisp has been out for 60 years. BASIC has been out for… … Read more
4 years ago in ALGOL, Delphi, Development, LISP, Software Development0
jpluimers
On one of the sites, when having some Delphi package registration issues, the standard measure was to delete the complete Package Cache subtree (like HKEY_CURRENT_USER\Software\Embarcadero\BDS\17.0\Package Cache). Since there is so little information about it, it is… … Read more
4 years ago in Delphi, Development, Software Development, Undocumented Delphi0
jpluimers
Every once in a while you want to have a Delphi Watch of a field inside an object (say an object of type TContext), except that the field has no value yet, but eventually will point… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
There are a few TNonRefCountInterfacedObject (or maybe better named TNonReferenceCountedInterfacedObject) implementations around (see list of links below). They can be used to expose interfaces, but do not provide interface reference counting. This means you have… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0
jpluimers
I always forget the syntax, so this quick grep helps me finding the lines in Delphi .dproj files that have the right copy statements for getting certain DLLs in the output directory. Those are very… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
I came across some very old code that used the IdObjs unit as it was depending on the TIdStringStream type. Digging around, I found the unit has been removed from Indy after the Delphi 2007 era. If… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
I think TVirtualMethodInterceptor is a really nice things added to Delphi XE: it allows you to overwrite virtual methods of a class. Since the documentation from that era cannot be saved in the WayBack machine, here… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
A long time ago (Delphi XE2 era), David Dubois and I helped out Doug find either the cause or a workaround of a memory overwrite in a 32-bit application. The problem was that a call… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
[WayBack] Named Pipes unit for Delphi | Mick’s Mix by Russell Libby, for which (Apr 7, 2013) Francoise Piette has updated this source code for Delphi XE3 and put it on his website at [WayBack] OverByte – Blog… … Read more
4 years ago in Delphi, Development, Software Development0