Welcome to McFunley.com Sign in | Join | Faq

March 2006 - Posts

When I'm writing a GUI or a multithreaded server application, I make heavy use of OutputDebugString (and various API's that map to it). This is a very useful tool when the act of stepping through an application has side effects that drastically change Read More
The source code for my Pointless Minesweeper Clone can be found here. Enjoy it.The license is BSD (you may know this as the "hey, go nuts" license). Read More
My roommate, a grizzled veteran of Cornell's CS 211, made an announcement a week or two ago. It was something along the lines of, "gee whiz, I'm glad they didn't make us write minesweeper as a project. It looks impossible." To prove my vast intellectual Read More
I couldn't find any chords for this band anywhere online, so I figured out a few myself. This is E.M.P.T.Y. from Strange Geometry (as of right now someone has an mp3 of it up here). I am leaving out a considerable amount of flourish, which is pretty Read More
I found myself needing to automatically manipulate the return value of a managed function in release code today. I thought this would make an interesting little writeup. For the purposes of the demonstration, let's use this example program:class Program{    Read More
Good mescaline comes on slow. The first hour is all waiting, then about halfway through the second hour you start cursing the creep who burned you because nothing's happening ... and then ZANG!- HST, from Fear and Loathing in Las VegasThis is an only-slightly Read More
Low memory conditions have a way of executing lightly- or never-tested code paths. Bugs in these paths can sometimes cast a penumbra over the real reason your application is crashing. Worse, the resulting exceptions or crashes are likely to be more Read More
Here's an anecdote for the WTF inbox. I assure you this is very real, but I cannot divulge any of the specifics.Some time ago a friend of mine was talking to a web services vendor, who was explaining his versioning scheme. The vendor's approach was to Read More
This is a straightforward fix, but I couldn't find anything about it anywhere else. I have a handful of old ATL projects that have been upgraded over the years from Visual C++ 6.0, through VS2003 and are now being built using Visual C++ 8. I was trying Read More
SKIN NAME : ImageHeader