The Old New Thing

The name WinMain is just a convention

Although the function is documented in the Platform SDK, it's not really part of the platform. Rather, is the conventional name for the user-provided entry point to a Windows program. The real entry point is in the C runtime library, which initializes the runtime, runs global constructors, and then calls your function (or if you ...

Nailing down what constitutes valuable consideration

Last time, I introduced a friend I called "Bob" for the purposes of this story. At a party earlier this year, I learned second-hand what Bob had been up to more recently. The team Bob worked for immediately prior to his retirement gave him a call. "Hi, Bob. We're trying to ship version N+1 of Product X, and we really need your help...