News

darkUnicode codec for Delphi

Author: Craig Chapman Another library to drop out of my Dark Glass development project today is my unicode codec (now named darkUnicode). https://github.com/chapmanworld/darkUnicode This simple class can be used to encode and decode unicode code-points by hand (independent of RTL functions to do the same), and I’ve used it previously to create my own unicode text buffer and stream support. …
Read more
News

Media file meta-data on Windows in Delphi.

Author: Craig Chapman Here’s a little Déjà vu for regular readers of my blog. One of my customers emailed me with an interesting problem this morning. “I need to be able to peek into a video file, specifically a .mp4 file, and determine if it’s PAL or NTSC.” This…
News

Media file meta-data on Android in Delphi.

Author: Craig Chapman One of my customers emailed me with an interesting problem this morning. “I need to be able to peek into a video file, specifically a .mp4 file, and determine if it’s PAL or NTSC.” This seemed like a fun challenge, so I thought I’d write a…
News

Delphi Xlib headers

Author: Craig Chapman Back in November for CodeRage-12, I demonstrated a partial translation of the Xlib headers for X11. At that time I explained that I’d not completed the headers, but would notify on my blog when I had. Well, I’ve just done a major update to those…
News

Delphi PodCast – Favorite Coding Books

Author: Craig Chapman As many of you may already be aware, I am now a regular guest on Jim McKeeth’s Delphi podcast along side David Millington. The pod-casts recently became video streamed, and have adopted a more structured “Themed Episode” format. Catch us Live on…
News

The Ultimate Developer Keyboard?

Author: Craig Chapman I never really thought of my keyboard as an important accessory, but rather, as that essential item that you buy for the cheapest price possible and be done with. I mean, a keyboard is a keyboard right? Well, I discovered that your choice of keyboard…
News

Lockless Multi-Threading in Delphi

Author: Craig Chapman In this video, I demonstrate a technique for communicating between threads in a Delphi application, without using typical locking mechanisms such as critical sections. Best Viewed in Full Screen (Recorded…