Showing results for February 2006 - Page 4 of 4 - The Old New Thing

Feb 2, 2006
0
0

The pornography of food

Raymond Chen
Raymond Chen

On the Media picks up on the Harper's Magazine article Debbie Does Salad and chats with Frederick Kaufman, the article's author, on the curious similarity between the way cooking shows and pornographic films present their subject matter. Cooking shows target the 18–35 male, even though these people are unlikely to be cooks themselves. The...

Non-Computer
Feb 2, 2006
0
0

Be careful when interpreting security descriptors across machine boundaries

Raymond Chen
Raymond Chen

While it's true the function can be used to check whether a particular security descriptor grants access to a token, you need to be aware of where that security descriptor came from. If the security descriptor came from another machine (for example, if you got it by calling and passing the path to a file on a network share), calling the function...

Code
Feb 1, 2006
0
0

The military marriage of convenience

Raymond Chen
Raymond Chen

The marriage of convenience is alive and well, not that is really a surprise to anybody. I found interesting this story on how some young members of the US military are getting married for purely economic reasons. By getting married, he would get a housing stipend and permission to move off-base. And as his legal wife, she would get health cove...

Non-Computer
Feb 1, 2006
0
0

The per-class window styles and things really are per-class

Raymond Chen
Raymond Chen

Earlier, I discussed which window style bits belong to whom. One detail of this that I neglected to emphasize is that since the lower 16 bits of the window style are defined by the class, you can't just take styles from one class and apply them to another. For example, you can't create a button control and pass the style expecting to have the te...

Code