Checkbox Workaround

I just posted my first YouTube video, somehow I managed to get something out that’s almost coherent, next time I promise better! In essence, the solution is the same, just a bit more detailed. I’ll need to get screen recording software and a good microphone, but at least we’re underway 🙂 The problem I was […]

Broken Code Insight in 10.4.2

Delphi 10.4.2 delivered important fixes to the LSP and Code Insight. In general, everything is working well for me. However, I can still produce the dreaded red squiggles: As you can see compilation was successful, but Code Insight and Structure View are broken. In this case, the problem is a result of updating the Library […]

FMX Resources

Language Reference Here are a list of resources to help a developer get started with FMX development. Some of the resources are free, others are links to books on Amazon. Please keep an eye on the Packtpub publisher’s website, they often have $5 specials, particularly around major holidays. The first resource you should download is […]

FMX Developers Group

Introduction We become just by doing just actions, temperate by doing temperate actions, brave by doing brave actions – Aristotle For anyone interested, I’ve just started a Facebook Group named Fmx Developers, you are most welcome to join. The group is for developers who’d like to discuss all things mobile, especially but not limited to […]

When Const is Not Const

Recently on the Delphi Developer FB Group, this interesting post caused quite the confusion: Enter the Debugger With the const modifier the memory addresses are the same (pass by reference): p1: TPoint $427CECp2: TPoint $427CEC Without const, they are different (pass by value): p1: TPoint $427CECp2: TPoint $19FF28 The global variable p1 has a value […]

Deleaker – Delphi Leak Profiler

Introduction In computer science, a memory leak is a type of resource leak that occurs when a computer program incorrectly manages memory allocations. One of the more challenging aspects of developing in a language without automatic memory management (i.e. a garbage collector or a referencing counting mechanism) is ensuring that your application does not leak […]

Turkey Embraces Delphi

Many people are not aware that in 2017 Delphi was selected as a primary development tool for all South African high schools: “Delphi is a great language that helps our students not only learn programming, but also extend their analytical skills for many other subjects. For us, the ability to standardise on a consistent, compatible […]

WMI in Delphi and VBScript

Purpose The purpose of this article is to provide a very basic introduction to WMI for Delphi developers who are unfamiliar with it. It contains example code to query WMI using Delphi. What is WMI? WMI (Windows Management Instrumentation) is a technological invention of Microsoft, whose purpose is to take care of the different operational […]

Gif Animation in Delphi FMX

Recently my wife asked me to help with an urgent request: a simple animation for a family dinner presentation. It was to be the last slide of the night, to cheer everyone up. She had two animated gifs, the first from Quentin Tarantino’s famous Pulp Fiction dance scene, and another of an unknown origin. The plan […]

Delphi RTTI and the Linker

Introduction Like C# and Java, Delphi makes rich runtime type information available to developers, facilitating the use of reflection. Reflection is just another paradigm, but incredibly useful for performing certain tasks. For example, one of the tasks I use reflection for is to discover classes decorated with a SystemInitializer attribute on application startup. Instead of […]