libraries

Can’t load package xyz.bpl. %1 is not a valid Win32 application – BPL dependency failure

Locating BPL dependency failure In one instance my package required another package, but its BPL was not present. The error I got was “Can’t load package xyz.bpl. %1 is not a valid Win32 application”. I used the Dependency scanner feature from ‘PE Explorer’ ( www.heaventools.de ) to detect this. There was supposed to be a […]

Can’t load package xyz.bpl. %1 is not a valid Win32 application – BPL dependency failure Read More »

Say no to crappy images in your Delphi programs. Finding the best resizing algorithm.

So, because I built a program that has to resize/scale images up and down, I built this tool to test 13 resizing algorithms for Delphi. Tested algorithms JanFX SmoothResize JanFX Stretch Transform (from Graphics32) HB (Private) madGraphics (from madShi) VCL.ScaleImage (from Embarcadero) VCL.Stretch (from Embarcadero) SmoothResize (assembler) Windows Thumbnail (Windows API) Windows StretchBlt (Windows API)

Say no to crappy images in your Delphi programs. Finding the best resizing algorithm. Read More »

$(Auto) – One package to rule them all

Note: This page is an excerpt from my “Delphi in all its glory – Libraries” book.   $(Auto) is a new environment variable, introduced in Delphi 10.4. Embarcadero didn’t make a big show around it so it went unnoticed by most programmers. But don’t ignore it! It is extremely useful for packages, where it can

$(Auto) – One package to rule them all Read More »

Scroll to Top