The Old New Thing

Setup could not verify integrity of file

When you try to install a patch, you may get the error message "Setup could not verify integrity of file. Make sure the cryptographic service is running." This typically means that the signature catalog has been corrupted. There was a patch to fix this problem, but of course if you haven'...

Painting only when your window is visible on the screen

Sometimes you want to perform an activity, such as updating a status window, only as long as the window is not covered by another window. The easiest way to determine this is by not actually trying to determine it. For example, here's how the taskbar clock updates itself...
Comments are closed.0 0
Code

Hardware backwards compatibility

Backwards compatibility applies not only to software. It also applies to hardware. And when hardware goes bad, the software usually takes the blame. The HLT instruction tells the CPU to shut itself down until the next hardware interrupt. This is a big win on laptops since it reduces power ...

What are those little overlay icons?

Windows XP ships with a number of icon overlays. The black clock is particularly baffling because you sometimes see it even if your system is not equipped with Hierarchical Storage Management. When this happens, it's because some program (...

Rotating the Z-order

Sometimes you run into a conflict where you need the controls laid out in one Z-order to get hit-testing to work, but need a different order to get keyboard TAB order working. For example, consider this dialog template, which has been simplified for expository purposes. The...
Comments are closed.0 0
Code

Windows brings out the Rorschach test in everyone

It seems that no matter what you do, somebody will get offended. Every Windows 95 box has an anti-piracy hologram on the side. The photographer chose his infant son as his model, since the human face is very hard to copy accurately. The baby sits next to a computer, and as you turn the hologram...

Knitting a pumpkin

I've decided to change the color scheme to match my latest knitting project:  A pumpkin hat. (Previous food-themed hats were raspberry and eggplant.) I just got a call from the yarn store that the yarn for my sweater has come in, and I can't wait...

Why isn't my time zone highlighted on the world map?

In the original release of Windows 95, you could change your time zone by clicking on the map, and the time zone you selected would highlight. Similarly, you could change your Region Settings by clicking on the world map. This was one of those little touches that made Windows 95 that much more fun to use...