Showing tag results for Other

Dec 11, 2006
Post comments count0
Post likes count1

What does an invalid handle exception in LeaveCriticalSection mean?

Raymond Chen

Internally, a critical section is a bunch of counters and flags, and possibly an event. (Note that the internal structure of a critical section is subject to change at any time—in fact, it changed between Windows XP and Windows 2003. The information provided here is therefore intended for troubleshooting and debugging purposes and ...

Other
Dec 6, 2006
Post comments count0
Post likes count3

If you let people read a file, then they can copy it

Raymond Chen

Here's a question that floated past my view: How do I set the ACLs on a file so users can read it but can't copy it? I can't find a "Copy" access mask that I can deny. If I can't deny copying, I'd at least like to audit it, so I can tell who made a copy of the file. There is no "Copy" access mask because copying is not a fundamental file operati...

Other
Dec 1, 2006
Post comments count0
Post likes count1

Nailing down what constitutes valuable consideration

Raymond Chen

Last time, I introduced a friend I called "Bob" for the purposes of this story. At a party earlier this year, I learned second-hand what Bob had been up to more recently. The team Bob worked for immediately prior to his retirement gave him a call. "Hi, Bob. We're trying to ship version N+1 of Product X, and we really need your help. I k...

Other
Nov 30, 2006
Post comments count0
Post likes count1

It took two of us to keep up with one Bob

Raymond Chen

One of my friends (let's call him "Bob") retired from Microsoft many years ago. Bob is an amazing programmer whose skills I remain in awe of. I remember visiting his office one evening with a mutual friend ("Fred") to catch up on things. When we turned up, he showed us a problem that he was working on. He was doing some sort of fancy graphics effe...

Other
Nov 29, 2006
Post comments count0
Post likes count1

A fork is an easy-to-find nonstandard USB device

Raymond Chen

Remember the Ten Immutable Laws of Security. Today, we're going to talk about number three: If a bad guy has unrestricted physical access to your computer, it's not your computer any more. There was a bug which floated past my field of vision many months ago that went something like this: "I found a critical security bug in the USB stack. If some...

Other
Nov 27, 2006
Post comments count0
Post likes count1

It's not surprising at all that people search for Yahoo

Raymond Chen

Earlier this year, one columnist was baffled as to why "Yahoo" was the most searched-for term on Google. I wasn't baffled at all. Back in 2001, Alexa published the top ten most searched-for terms on their service, and four of the top ten were URLs: yahoo.com, hotmail.com, aol.com, and ebay.com. A lot of people simply don't care to learn the diffe...

Other
Nov 9, 2006
Post comments count0
Post likes count0

Why can't you use the Tab key to select items from the auto-complete drop-down?

Raymond Chen

An anonymous commenter asked why the Tab key doesn't select items from the auto-complete drop-down list. The answer: Because that key already has some other meaning. The Tab key is used to navigate among controls in a dialog box. Adding auto-complete behavior to an existing dialog would disturb the tab order, which would in turn frustrate people ...

Other
Nov 7, 2006
Post comments count0
Post likes count1

There's going to be an awful lot more overclocking out there

Raymond Chen

Last year, I told the story of overclocking being the source of a lot of mysterious crashes and that some of those overclocked machines were overclocked at the store. These machines came from small, independent shops rather than the major manufacturers. Well it looks like that's about to change. Gateway's FX530 Desktop can be ordered overclocke...

Other
Nov 6, 2006
Post comments count0
Post likes count1

On the importance of backwards compatibility for large corporations

Raymond Chen

Representatives from the IT department of a major worldwide corporation came to Redmond and took time out of their busy schedule to give a talk on how their operations are set up. I was phenomenally impressed. These people know their stuff. Definitely a world-class operation. One of the tidbits of information they shared with us is some numbers ab...

Other