Showing tag results for History

May 12, 2005
Post comments count0
Post likes count0

The Microsoft corporate network: 1.7 times worse than hell

Raymond Chen

Today I'm going to tell a story from 1996. Why? Because I can. One of the tests performed by Windows Hardware Quality Labs (WHQL) was the NCT packet stress test which had the nickname "Hell". The purpose of the test was to flood a network card with an insane number of packets, in order to see how it handled extreme conditions. It uncovered packe...

History
May 4, 2005
Post comments count0
Post likes count1

When people ask for security holes as features: Stealing passwords

Raymond Chen

Sometimes people ask for features that are such blatant security holes I don't know what they were thinking. Is there a way to get the current user's password? I have a program that does some stuff, then reboots the system, and I want to have the current user's password so I can log that user back in when I'm done, then my program can resume its o...

HistoryWhen people ask for security holes as features
Apr 19, 2005
Post comments count0
Post likes count1

When people ask for security holes as features: Hiding files from Explorer

Raymond Chen

By default, Explorer does not show files that have the flag, since somebody went out of their way to hide those files from view. You can, of course, ask that such files be shown anyway by going to Folder Options and selecting "Show hidden files and folders". This shows files and folders even if they are marked as . On the other hand, files that ...

HistoryWhen people ask for security holes as features
Mar 28, 2005
Post comments count0
Post likes count1

When a program asks you a question and then gets upset if you answer it

Raymond Chen

JeffDav's story of a program that didn't like it when he told it where to install reminded me of another program that we dealt with during Windows 95 development. This was a big-name program developed by one of the biggest-of-the-big name software companies. Let's give this program the imaginary name "LitWare". Its setup program asked you w...

History
Mar 15, 2005
Post comments count0
Post likes count3

Windows are not cheap objects

Raymond Chen

Although Windows is centered around, well, windows, a window itself is not a cheap object. What's more, the tight memory constraints of systems of 1985 forced various design decisions. Let's take for example the design of the list box control. In a modern design, you might design the list box control as accepting a list of child windows, each of w...

History
Feb 25, 2005
Post comments count0
Post likes count2

Two brief reminiscences on the Windows XP "Comments?" button

Raymond Chen

In beta versions of Windows XP, there was special code in the window manager to give every window a link in the upper right corner called "Comments?" which if clicked on displayed a dialog that allowed you to submit feedback to Microsoft about that window. Since this was a beta release, there was no anonymity when you submitted feedback. (You...

History
Feb 10, 2005
Post comments count0
Post likes count0

Why do minimized windows have an apparent size of 160×31?

Raymond Chen

We discussed a few months ago the issue of where windows minimized to before the taskbar was invented. In the modern taskbar world, why do minimized windows have an apparent size of 160x31? The size isn't just apparent. That's really their size. You can see them, for example, if you fire up a program that uses the Multiple Document Interface. ...

History
Feb 8, 2005
Post comments count0
Post likes count0

What other effects does DS_SHELLFONT have on property sheet pages?

Raymond Chen

Once you invent a new flag you can start using it to fix errors of the past without breaking backwards compatibility. One of the errors of the past was that property sheet page dimensions were taken relative to the "MS Sans Serif" font, even if the page used some other font. This sample dialog template says that it is 212dlu wide and 188dlu t...

CodeHistory
Feb 7, 2005
Post comments count0
Post likes count0

Why does DS_SHELLFONT = DS_FIXEDSYS | DS_SETFONT?

Raymond Chen

You may have noticed that the numerical value of the flag is equal to . Surely that isn't a coincidence. The value of the flag was chosen so that older operating systems (Windows 95, 98, NT 4) would accept the flag while nevertheless ignoring it. This allowed people to write a single program that got the "Windows 2000" look w...

History
Feb 3, 2005
Post comments count0
Post likes count1

Why is breadth-first searching better for file system tree walking?

Raymond Chen

Earlier, Eric Lippert discussed one scenario where breadth-first searching is better than depth-first searching. Today, I'll tell you about another. If you go back to the old MS-DOS file enumeration functions, you'll find that there is a "Find first file" function and a "Find next file" function, but no "Find close" function. That's because the ...

History