Five Hundred / May 21, 2024

Five Hundred – Launching this week!

Five Hundred – Steam Release It’s been a few hundred hours of work, a whole lot of testing, a huge amount of reading of the Steamworks API – but Five Hundred – Steam Edition – is coming this week! Screenshots New Features As previously discussed, the Steam Edition includes a very large amount of new

Read More
Code / January 16, 2019

Obtaining the user’s Windows 10 Accent colour in FreePascal

I’m currently designing a minimalistic user interface in FPC (Freepascal), and I wanted it to blend in with the existing Windows desktop. So naturally, I started looking for how to obtain the user’s chosen accent color (I’m deliberately alternating American and British spelling of colour/color to help anyone that needs this to be able to

Read More
Puzzle / February 22, 2014

Puzzle: FPC’s TEventObject, in Windows

This post is kind of an open question. I’m hoping that I can get some comments, any comments, on it 🙂 Let’s set up a situation with a problem, and look at different solutions for addressing the problem. Which one do you think is best, and more importantly, why? The Setup There is a multithreaded

Read More
Code / February 16, 2014

Don’t use Suspend and Resume, but don’t poll either.

So, using thread Suspend and Resume functionality is deprecated in Delphi, Freepascal, and even Windows MSDN itself warns against using it for synchronization. There are good reasons for trying to kill this paradigm: suspending and resuming other threads from the one you’re currently on is a deadlock waiting to happen, and it’s typically not supported at all

Read More
Code / February 4, 2014

Playing video in FPC

A short and simple post for today. Playing a video file in Freepascal, without using Lazarus. I honestly couldn’t find any examples on the internet of how to do this, so I made one. The DirectX9SDK has examples of how to use DirectShow/ActiveMovie to play back video files in C++, however, the common version of

Read More
Code / May 30, 2011

Net Status

A small break from Icefall. My network has been a bit flakey recently, and it was irritating because it wasn’t always immediately obvious when it died. So I wrote a little application that can sit in the notification area and send a regular ping to a designated address/site, and make a sound if it suddenly

Read More