jpluimers
Quite sometime I was researching spurious exceptions in a Delphi application, then finally replicated them in a unit test suite. One of them was occurring almost all of the time: EInvalidOp. It is one of… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Cool Format feature from [WayBack] file – String format procedure similar to writeln – Stack Overflow: The cool thing about using Format is that you use for Format Strings not only to parameterize things like width and precision inside that Format String, but also… … Read more
4 years ago in Conference Topics, Conferences, Delphi, Development, Event, Software Development0
jpluimers
A cool feature introduced in Delphi 10.2 Tokyo: often [RSP-17326] with statements generate W1048 unsafe typecast warning – Embarcadero Technologies. Only 2 upvotes, so I assume the “anti with camp” people are finally winning (:… … Read more
4 years ago in Delphi, Delphi 10.2 Tokyo (Godzilla), Development, Software Development0
jpluimers
Recently I needed a plain TDBGrid without a horizontal scrollbar. I based it on the below solutions, but using an interposer class (type TDBGrid = class(TDBGrid) … end;). Another solution is to redirect the WinProc… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
I hardly use help files, but some older systems do, and when porting really old Delphi code, often odd implementations of accessing them through HHCTRL.OCX are used. Since I tend to forget the correct way… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
The Delphi Build groups are great for quickly building a lot of projects in your project group with their various build configuration. One very important tip though: it builds in DEBUG, then RELEASE mode, then… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
If you setup an empty test project, then DUnitX will throw an ENoTestsRegistered. This exception is not handled, which results in two things: a run-time error 217 if your application is a non-UI application a… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
Notes to myself: I bumped into some legacy code with a windows process and DLLs both using ShareMem (now System.ShareMem) so that strings could be shared between the instances. There were lots of memory leaks,… … Read more
4 years ago in Delphi, Development, FastMM, Software Development0
jpluimers
I totally missed this, even though the file has been around for a very long time: [WayBack] DUnit: Xtreme Unit Testing for Delphi / SVN / [r1] /trunk/dunit/Contrib/XMLReporting/dunit-report.xsl [WayBack] Repository: svn: [r1] (3.6 kB) by… … Read more
4 years ago in Delphi, Development, DUnit, Software Development0
jpluimers
Some links on rebase for Windows DLLs and EXE files, including effects on .NET CLR. Rebasing – Wikipedia [WayBack] Massive Rebase: DLL Sharing and ASLR Investigation [WayBack] Rebasing Win32 DLLs | Dr Dobb’s [WayBack] memory… … Read more
4 years ago in .NET, Delphi, Development, Software Development, Windows Development0
jpluimers
A while ago, I discovered that most (if not all) Delphi compiled Windows binaries contain the PLATFORMTARGETS resource. This is a resource introduced in Delphi XE2 meant to be included in package binaries only. The… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
From a while ago, but still very relevant: Materials [WayBack] The Delphi Geek: Spring4D European Conference 2019 sessions [WayBack] The Delphi Geek: Presentations [WayBack] Spring4D Conference: Slides and Materials: Spring4D European Conference 2018 – Bergamo… … Read more
4 years ago in Delphi, Development, Software Development0
jpluimers
It took me a file to figure out another cause for “F2063 Could not compile used unit“, this was for a 3rd party library that had parts of the units as source files, but other… … Read more
4 years ago in Delphi, Development, Software Development0