Async Tasks in VCL Projects

Sometimes actions inside an application need their time. From retrieving data from REST service or a database to scanning your hard disk for all files containing images, there are a plethora of things that can be time consuming. In case these tasks are executed in the main thread the application will probably become unresponsive and feels like frozen – to the user as well as to the operating system.

There is a good chance that one can solve this by moving the time consuming task into a thread. That is usually where the problems start creeping in. Continue reading “Async Tasks in VCL Projects”

Delphi VCL Applications with mixed DPI

High DPI display and 4K Monitors are getting more common these days. Supporting higher settings than 96 dpi is already possible with some of the newer Delphi versions.

Nevertheless this is still a time and resource consuming task. Not only do you need additional sizes for the icons used in your application, you also have to check each form and frame for looking good in higher scaled environments.

Continue reading “Delphi VCL Applications with mixed DPI”