Showing results for Other - The Old New Thing

Aug 5, 2004
0
0

The oft-misunderstood /3GB switch

Raymond Chen
Raymond Chen

It's simple to explain what it does, but people often misunderstand. The /3GB switch changes the way the 4GB virtual address space is split up. Instead of splitting it as 2GB of user mode virtual address space and 2GB of kernel mode virtual address space, the split is 3GB of user mode virtual address space and 1GB of kernel mode virtual addr...

Other
Jul 22, 2004
0
0

Why can't you trap TerminateProcess?

Raymond Chen
Raymond Chen

If a user fires up Task Manager and clicks "End Task" on your program, Windows first tries to shut down your program nicely, by sending WM_CLOSE messages to GUI programs and CTRL_CLOSE_EVENT events to console programs. But you don't get a chance to intercept TerminateProcess. Why not? TerminateProcess is the low-level process killing function. It...

Other
Jul 22, 2004
0
0

Why can’t you trap TerminateProcess?

Raymond Chen
Raymond Chen

If a user fires up Task Manager and clicks "End Task" on your program, Windows first tries to shut down your program nicely, by sending WM_CLOSE messages to GUI programs and CTRL_CLOSE_EVENT events to console programs. But you don't get a chance to intercept TerminateProcess. Why not? TerminateProcess is the low-level process killing function. It...

Other
Jul 15, 2004
0
0

Why "Under Construction" should be made illegal on the web

Raymond Chen
Raymond Chen

The site www.emr.fr has been "under construction" for over eight years. I noticed it in June 1996 and check back on it periodically. Still Under Construction. Another site that I noticed as "Under Construction" in June 1996 is www.leary.com. And as of this writing, it is still under construction.

Other
Jul 15, 2004
0
0

Why “Under Construction” should be made illegal on the web

Raymond Chen
Raymond Chen

The site www.emr.fr has been "under construction" for over eight years. I noticed it in June 1996 and check back on it periodically. Still Under Construction. Another site that I noticed as "Under Construction" in June 1996 is www.leary.com. And as of this writing, it is still under construction.

Other
Jul 9, 2004
0
0

How does Add/Remove Programs get the size and other information?

Raymond Chen
Raymond Chen

If the program doesn't provide this information itself, Add/Remove Programs is forced to guess. The problem is that there is no "obvious" way to map an entry in the Add/Remove Programs list to an actual program. Each entry in the list, for those who care about such things, comes from the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\...

Other
Jul 8, 2004
0
0

Why does icon text get a solid background if drop shadows are disabled?

Raymond Chen
Raymond Chen

A commenter asks why icon label have "those ugly color boxes" when there is a background image. The answer: Because the alternative would be worse. Imagine if there were no solid background between the text and the background image. You would end up with text against an unpredictable background, which doesn't help readability. Take the ...

Other
Jul 7, 2004
0
0

Differences between managers and programmers, part 2

Raymond Chen
Raymond Chen

If you are attending a presentation, you can tell whether the person at the lectern is a manager or a programmer by looking at their PowerPoint presentation. If it's black-and-white, all-text, multimedia-free, and rarely has more than ten bullet points on a page, then the presenter is probably a programmer. If it's colorful, with graphics,...

Other
Jul 6, 2004
0
0

Differences between managers and programmers

Raymond Chen
Raymond Chen

If you find yourself in a meeting with a mix of managers and programmers, here's one way to tell the difference between them: Look at what they brough to the meeting. Did they bring a laptop computer? Score bonus points if the laptop computer is actually turned on during the meeting or if the laptop is special in some way (e.g., it has a w...

Other
Jul 2, 2004
0
0

Being in upper management must damage certain portions of your brain

Raymond Chen
Raymond Chen

The air must be thinner the higher up the management chain you go, or maybe it just gives you more opportunities to look stupid. Like this message: From: <some upper manager> Subject: <some subject> I will try to keep this relatively brief as I know how busy everyone is. <... 4-page message follows...> If this i...

Other