Author: Craig Chapman

1

The difference between an object and a class.

Though it may appear a minor distinction, the difference between an object and a class is something which developers seem to misunderstand all the time. The question often comes up in interview situations, so I...

15

Instantly expose a data table as JSON/REST with Delphi.

[NEW UPDATE] I’ve replaced this component with a re-write named “deREST” – find out more here: http://chapmanworld.com/2018/07/21/instantly-expose-a-table-as-a-rest-endpoint-again/ Since my skill sprint on JSON/REST services in Delphi and C++ builder back in February, one thing has...

2

RAD Studio setting the vcl application icon.

I recently received a question from one of my customers, asking how to set the icon for an application (in this case a VCL application). This is something that I’d understood to be trivial,...

0

TRichEdit behaves differently under Unicode.

The problem. One of my customers contacted me recently to explain that code which functioned under Delphi 2005 was failing under Delphi XE8. Essentially, this code was intended to alter the contents of a...

0

Solving: Image index out of bounds.

The problem. One of my customers is getting an “Image index out of bounds.” error message in his application. The cause of this could be difficult to track down. Depending on the complexity of...

5

Delphi Sprite Engine – Part 7

The Delphi Sprite Engine “DelphiGlass,” which I’ve been building for this blog series, has seen several changes and updates recently. The animation is now smoother, the threading model is functioning, and it’s far more...

2

COM object written in C#, Consumed in Delphi.

[1080p – best viewed full screen] Recently, while working with a customer on a .NET interop problem, I found myself needing to consume a COM object created in .NET from within Delphi. I recorded...

0

Rendering in Delphi using TCanvas (FMX)

I have a customer with an application which makes heavy use of GDI calls for graphics rendering, and with a desire to migrate this application to OSX. Unfortunately, in this case, OSX has no...