August 30th, 2007

Get the Message

Back in 1995 or thereabouts, we were working on the first version of our Windows application. We hired a pretty good Windows consultant who came up from Texas to work on the project. Although he seemed to love all things Microsoft (including the late, unlamented Microsoft Delta), he was convinced that using Windows messaging was a Bad Thing (TM). As a result, we wrote our own messaging system.

It turns out that our messaging system is a very evil thing when running multithreaded, which I've suspected for some time now. And because I've been assigned to get a particular multithreaded project to work in our client application which uses our ugly home-grown messaging everywhere, I now need to root it out and replace it with the appropriate Windows messaging mechanisms.

While I've been wanting to do this for a long time, I'm not convinced that this is really the week that I wanted to do it in.