The Old New Thing

Visual C++ 2005 will generate manifests for you

New in Visual C++ 2005 is the ability to specify a manifest dependency via a #pragma directive. This greatly simplifies using version 6 of the shell common controls. You just have to drop the line into your program and the linker will do the rest. Note that the processor architecture is hard-coded into the above directive, which ...
Comments are closed.0 0
Code

The three things you need to know about tsunamis

One of my friends is involved with Science on Tap, a free, informal monthly get-together in the Seattle area covering science topics for the general public. (Recent coverage in the Seattle-PI.) The topic for July 30th is "The three things you need to know about tsunamis", and a title like that pretty much sells itself...

The sad predicament of the unempowered manager

I just made up that term now because I needed a word to describe the situation where some manager is put in charge of a feature but is not given a staff to implement that feature. This happens more often than you might think, since there are many features that are "horizontal", i.e., features which affect all teams throughout the project. So-...

Let's talk like people

On Mark Rosenfelder's Zompist web site I found a series of cultural guides named How to tell if you're ‹nationality›. All of the entries are simultaneously funny and insightful, such as this one from Turkey: A company can fire just about anybody it wants. But it will also hire anybody. For some reason, my favorite is this ...

Psychic debugging: Why does FormatMessage say the resource couldn't be found?

Solving this next problem should be a snap with your nascent psychic powers: I'm trying use FormatMessage to load a resource string with one insertion in it, and this doesn't work for some reason. The string is "Blah blah blah %1. Blah blah blah." The call to FormatMessage fails, and GetLastError() returns ERROR_RESOURCE_TYPE_NOT_FOUND. ...
Comments are closed.0 0
Code

Cool, they're using Roman numerals!

The IT department here will periodically send out notifications regarding changes to the network infrastructure or updates that are being deployed across the company. One of my colleagues sent me email saying, "Cool, they're using Roman numerals!" It was in response to one particular IT notification that included the following sentence: This...

Raymond's SIFF schedule (2007)

Nobody asked, but I'm going to post it anyway. These are the movies I'm planning on seeing, along with my twisted take on the plot, based solely on the movie description. ¹These movies were chosen in large part to serve as German lessons. ²I have a weak spot for slightly off-kilter Japanese movies set in the modern day. ³...

The parameters to PostQueuedCompletionStatus are not interpreted

Larry Osterman mentioned this almost in passing quite a while ago, that the parameters to PostQueuedCompletionStatus are not interpreted by the operating system. Well, obviously the first parameter, the handle to the completion port, is interpreted as the handle to the completion port. But the other parameters, dwNumberOfBytesTransferred, ...
Comments are closed.0 0
Code

Being nominated for the Nobel Prize isn't as big a deal as it sounds

Occasionally, somebody will use the fact that they were nominated for the Nobel Prize as some sort of proof that they are a qualified or well-respected person. Except that it proves no such thing. This isn't like the Academy Awards or the Pulizter Prize for which receiving a nomination means that you are one of a handful of finalists. For ...

Feedback usabilla icon