Showing tag results for Other

Feb 26, 2009
Post comments count0
Post likes count1

Pressing a registered hotkey gives you the foreground activation love

Raymond Chen

One category of application that people complained about is the application launcher which keys off a hotkey and doesn't get the foreground love. Well, except that windows with registered hotkeys do get the foreground love. After you call the function to register a hotkey, the window manager will send you a message when the user presses tha...

Other
Feb 24, 2009
Post comments count0
Post likes count1

Email tip: Just because you get answers when you misuse a mailing list doesn’t doesn’t mean you should continue to misuse it

Raymond Chen

A few years ago, there was a question on a mailing list for topic X, but the question was about unrelated topic Y. The question was nevertheless answered by the people on the topic X mailing list out of the kindness of their hearts (above and beyond the heart-sourced kindness that powers most mailing lists in the first place). I poin...

Otheremail
Feb 18, 2009
Post comments count0
Post likes count1

Guest TCP psychic debugging: Why the remote server keeps RSTing the connection

Raymond Chen

My colleague Keith Moore (who occasionally comments on this site) shared with me one of his recent triumphs of psychic debugging. First the question: The customer is getting an RST response from IIS and they would like to know why. Here is a fragment from a network capture that illustrates the problem. (Fragment deleted.) The full capture is ava...

Other
Feb 13, 2009
Post comments count0
Post likes count1

The checkbox: The mating call of the loser

Raymond Chen

(Cultural note: The phrase the mating call of the loser is a term of derision. I used it here to create a more provocative headline even though it's stronger than I really intended, but good writing is bold.) When given a choice between two architectures, some people say that you should give users a checkbox to select which one should be used....

Other
Feb 11, 2009
Post comments count0
Post likes count1

If you get confused by a register dump, then you’ll just have to accept that some of my postings won’t make any sense

Raymond Chen

This Web site is not for beginners. I try to write for advanced programmers, and if you're not an advanced programmer, then you'll just have to accept that there will be times you are baffled by what I write. Often I dial the geek back a notch, explaining some things which should be "obvious" to an advanced programmer, such as why storing a consta...

Other
Feb 5, 2009
Post comments count0
Post likes count1

What the various registry data types mean is different from how they are handled

Raymond Chen

Although you can tag your registry data with any of a variety of types, such as or or . What do these mean, really? Well, that depends on what you mean by mean, specifically, who is doing the interpreting. At the bottom, the data stored in the registry are opaque chunks of data. The registry itself doesn't care if you lie and write two bytes...

Other
Feb 4, 2009
Post comments count0
Post likes count3

What is the terminology for describing the various parts of the registry?

Raymond Chen

Hives, keys, values, types, and data. As I noted some years ago, the file that holds the registry data is called a hive. A hive contains a tree of keys. Keys contain a list of values. Associated with each value is a type and data. The terminology is weird and counter-intuitive thanks to the history of the registry. Back in the days ...

Other
Jan 30, 2009
Post comments count0
Post likes count1

The problem with The Month Where Everyone Focuses on Improving Documentation is that most people are terrible technical writers

Raymond Chen

Why not have a month where everybody focuses on improving documentation like that month a few years ago where everybody focused on security? Well, part of it is that most people suck at technical writing. The technical part, maybe, but the writing almost definitely not. Writing is hard (as I've learned firsthand), and technical writing is a spec...

Other
Jan 23, 2009
Post comments count0
Post likes count1

Why can’t you apply ACLs to registry values?

Raymond Chen

Someone wondered why you can't apply ACLs to individual registry values, only to the containing keys. You already know enough to answer this question; you just have to put the pieces together. In order for a kernel object to be ACL-able, you need to be able to create a handle to it, since it is the act of creating the handle that performs the...

Other