Showing tag results for Other

Jun 9, 2005
Post comments count0
Post likes count0

Why can't the default drag/drop behavior be changed?

Raymond Chen
Raymond Chen

A common reaction to my explanation of whether dragging a file will result in a move or copy was that there should be a setting that lets you change the algorithm by which Explorer decides whether you want to move or copy. There are a few reasons why this is a bad idea. First, if there were such a setting, then it removes some of the predictabil...

Other
Jun 7, 2005
Post comments count0
Post likes count2

What if two programs did this?

Raymond Chen
Raymond Chen

Another thought experiment when thinking through a feature.

Other
Jun 2, 2005
Post comments count0
Post likes count0

If strncpy is so dangerous, why does Visual Studio 2005 still support it?

Raymond Chen
Raymond Chen

In response to the news that is so dangerous, at least one person has called for Visual Studio to revoke support for such a dangerous function, considering the continued support for the function grounds for holding the compiler manufacturer liable for any defects in programs compiled with that compiler. Well, for one thing, while it's true that...

Other
Jun 1, 2005
Post comments count0
Post likes count0

Using /LARGEADDRESSAWARE on 64-bit Windows for 32-bit programs

Raymond Chen
Raymond Chen

Probably the biggest advantage of 64-bit Windows is not the larger registers but rather the expansive 64-bit address space. Recall that even when the /3GB switch is set, 32-bit programs receive only 2GB of address space unless they indicate their willingness to cope with addresses above 2GB by passing the /LARGEADDRESSAWARE flag. This flag means t...

Other
May 23, 2005
Post comments count0
Post likes count0

Why are DLLs unloaded in the "wrong" order?

Raymond Chen
Raymond Chen

When a program starts or when a DLL is loaded, the loader builds a dependency tree of all the DLLs referenced by that program/DLL, that DLL's dependents, and so on. It then determines the correct order in which to initialize those DLLs so that no DLL is initialized until after all the DLLs upon which it is dependent have been initialized. (Of cour...

Other
May 17, 2005
Post comments count0
Post likes count0

You can't escape those AOL CDs

Raymond Chen
Raymond Chen

One of my colleagues was unpacking one of those $30,000 quad-processor more-memory-than-you-know-what-to-do-with super-server computers. The kind that require their own electrical substation. And it came with an AOL CD. It's like buying a Lexus and finding a 35-cents-off coupon in the glove compartment. Apparently, one of the questions AOL tech ...

Other
May 2, 2005
Post comments count0
Post likes count0

Another dead computer: My personal laptop

Raymond Chen
Raymond Chen

I'm kind of surprised at how much people reacted to my previous dead computer story. I guess there's an audience for stories about dead computers. Today's dead computer is my Sony Vaio PCG-Z505LE laptop, with a 600MHz processor and 192MB of RAM. Certainly a big step up from that 486/50 with 12MB of RAM. Laptop computers have a comparatively shor...

OtherDead computers
Apr 12, 2005
Post comments count0
Post likes count0

There's an awful lot of overclocking out there

Raymond Chen
Raymond Chen

A bunch of us were going through some Windows crashes that people sent in by clicking the "Send Error Report" button in the crash dialog. And there were huge numbers of them that made no sense whatsoever. For example, there would be code sequences like this: Yet when we looked at the error report, the and registers were equal! There were othe...

Other
Apr 11, 2005
Post comments count0
Post likes count0

The end of one of the oldest computers at Microsoft still doing useful work

Raymond Chen
Raymond Chen

My building was scheduled for a carpet replacement—in all my years at Microsoft, I think this is the first time this has ever happened to a building I was in—so we all had to pack up our things so the carpeters could get clear access to the floor. You go through all the pain of an office move (packing all your things) but don't get the ...

OtherDead computers
Mar 21, 2005
Post comments count0
Post likes count0

Psychic debugging: Why your expensive four-processor machine is ignoring three of its processors

Raymond Chen
Raymond Chen

On one of our internal mailing lists, someone was wondering why their expensive four-processor computer appeared to be using only one of its processors. From Task Manager's performance tab, the chart showed that the first processor was doing all the work and the other three processors were sitting idle. Using Task Manager to set each process's proc...

Other