Showing tag results for History

Nov 13, 2008
Post comments count0
Post likes count0

Why is the maximum boot.ini delay 11 million seconds?

Raymond Chen
Raymond Chen

I mentioned in passing that the maximum delay you can specify in boot.ini is about 11 million seconds. I'm disappointed but sadly not surprised that everybody focused on that number and completely missed the point of the article. First of all, the value of 11 million was not a conscious limitation. It's just an artifact of other limitations. The...

History
Nov 11, 2008
Post comments count0
Post likes count0

You can’t fight in here; this is the War Room!

Raymond Chen
Raymond Chen

(Video clip for those who don't get the reference.) The term War Room is attributed to Winston Churchill, used to describe the underground meeting room where the war effort was directed. It is the "crucial meeting room where important decisions are made" sense of the term that is used at Microsoft. Many software products (or even just compone...

History
Nov 4, 2008
Post comments count0
Post likes count0

How did Spicy Hot V-8 vegetable juice get added to the complimentary beverages in Microsoft kitchens?

Raymond Chen
Raymond Chen

Today is Election Day in the United States. Don't forget to vote. (Void where prohibited.) In honor of Election Day, I figured I'd tell a story about voting. One of the complimentary beverages available in Microsoft kitchens is Spicy Hot V-8. (Sure it's tasty, but watch out for the sodium content!) I remember well when Spicy Hot V-8 was adde...

History
Oct 6, 2008
Post comments count0
Post likes count2

Eventually, nothing is special any more

Raymond Chen
Raymond Chen

Commenter ulric suggested that two functions for obtaining the "current" window should exist, one for normal everyday use and one for "special use" when you want to interact with windows outside your process. I'd be more at ease however if the default behaviour of the API was to return HWND for the current process only, and the apps that really ...

History
Sep 25, 2008
Post comments count0
Post likes count1

Even if a function doesn’t do anything, you still have to call it if the documentation says so, because it might do something tomorrow

Raymond Chen
Raymond Chen

If the documentation says that you have to call a function, then you have to call it. It may be that the function doesn't do anything, but that doesn't prevent it from doing something in the future. Today's example is the function , which returns you all the environment variables of the current process in a single block, which you can then study ...

History
Sep 17, 2008
Post comments count0
Post likes count0

Well at least that’s one fewer program that relies on window handles being even numbers

Raymond Chen
Raymond Chen

Earlier this year I received a piece of email from a programmer at a major software firm, reprinted below (suitably redacted) with permission. It was a sort of a mea culpa. (Remember: no guessing allowed.) Hi, Raymond. I'm a dev on Product X and recently we were sitting around having a beer after work, discussing the long and sordid hist...

History
Aug 25, 2008
Post comments count0
Post likes count0

Why was the RAM drive removed from Windows 95?

Raymond Chen
Raymond Chen

Commenter Travis Owens asks, "Why was the RAM drive removed from Windows 95?" As with many of these types of accusatory questions, this comes with a false hidden assumption, in this case, that the RAM drive was in Windows 95 to begin with. Remember that Windows 95 introduced a new driver model, so any RAM drive would have had to be w...

History
Aug 6, 2008
Post comments count0
Post likes count0

What’s with this MSH_MOUSEWHEEL message?

Raymond Chen
Raymond Chen

The hardware folks had this mouse wheel thing they were making, and they needed a way to get applications to support the mouse. Now, one way of doing this was to say, "Well, we'll start selling this wheel mouse, but no applications can use it until the next version of Windows is released, one that supports the wheel." Of course, that would have me...

History
Jul 16, 2008
Post comments count0
Post likes count0

The evolution of menu templates: 32-bit extended menus

Raymond Chen
Raymond Chen

At last we reach the 32-bit extended menu template. Introduced in Windows 95, this remains the most advanced menu template format through Windows Vista. As you might expect, the 32-bit extended menu template is just a 32-bit version of the 16-bit extended menu template, so if you've been following along, you should find no real surprise...

History
Jul 15, 2008
Post comments count0
Post likes count0

The evolution of menu templates: 16-bit extended menus

Raymond Chen
Raymond Chen

Windows 95 introduced a new menu format, known as "extended menus". You declare these in a resource file with the MENUEX keyword. The 16-bit extended menu is really just a temporary stopping point on the way to the 32-bit extended menu, since the 16-bit form is supported only by the Windows 95 family of operating systems. It's sort of th...

History