Current version

v1.10.4 (stable)

Navigation

Main page
Archived news
Downloads
Documentation
   Capture
   Compiling
   Processing
   Crashes
Features
Filters
Plugin SDK
Knowledge base
Contact info
 
Other projects
   Altirra

Archives

Blog Archive

I hate reading Raymond Chen's blog

Raymond Chen is a long-time Microsoft employee who was on the Windows 95 team and now has a blog called The Old New Thing. It's a rather fascinating blog, one filled with lots of good programming tips and Windows history. Some of the anecdotes about Windows 95's development are quite funny.

However, it's a very depressing blog to read sometimes.

You see, the problem is that occasionally he'll post an entry about some aspect of the Win32 API and explain its common pitfalls and how it is supposed to be used. So it was with some dread today that I read his article about DeferWindowPos() and its funny behavior with regard to the HDWP handle it accepts and the new HDWP handle it returns. Sure enough, a Find-in-Files search of the VirtualDub 1.6.8 codebase revealed three places where I was calling DeferWindowPos() incorrectly. Sigh.

I love reading his blog because it's full of great information, but I hate reading it because every time I do I have to fix more bugs.

Comments

This blog was originally open for comments when this entry was first posted, but was later closed and then removed due to spam and after a migration away from the original blog software. Unfortunately, it would have been a lot of work to reformat the comments to republish them. The author thanks everyone who posted comments and added to the discussion.