Showing tag results for Other

Nov 26, 2007
Post comments count0
Post likes count3

Why are INI files deprecated in favor of the registry?

Raymond Chen

Welcome, Slashdot readers. Remember, this Web site is for entertainment purposes only. Why are INI files deprecated in favor of the registry? There were many problems with INI files. The registry tried to address these concerns. You might argue whether these were valid concerns to begin with, but the Windows NT folks sure thought they w...

Other
Nov 22, 2007
Post comments count0
Post likes count1

When in doubt, consult the online Magic 8 Ball

Raymond Chen

On our team's web site, buried among the other debugging documents, was a page titled simply "Magic 8 Ball"®¹. If you visited it, you got a dark blue circle with a lighter-blue triangle, on which appeared white text with a randomly-chosen message. The messages were things like It was fun to give the 8-ball a shake, but the real purpose ...

Other
Nov 16, 2007
Post comments count0
Post likes count1

In Windows XP, even when DEP is on, it's still sometimes off

Raymond Chen

As we saw last time, there are a variety of ways you can control DEP, one of which is to turn it on for all system processes. But even if you turn on DEP, it still sometimes turns itself off temporarily. It goes back to those bad versions of ATL. The application compatibility team found that there were so many programs written with application ...

Other
Nov 15, 2007
Post comments count0
Post likes count1

Is DEP on or off on Windows XP Service Pack 2?

Raymond Chen

Last time, we traced an failure to a shell extension that used an older version of ATL which was not DEP-friendly. But that led to a follow-up question: Why aren't we seeing this same crash in the main program as in the shell extension? That program uses the same version of ATL, but it doesn't crash. The reason is given in this chart. Notice ...

Other
Nov 14, 2007
Post comments count0
Post likes count1

Psychic debugging: IP on heap

Raymond Chen

Somebody asked the shell team to look at this crash in a context menu shell extension. You should be able to determine the cause instantly. I replied, This shell extension is using a non-DEP-aware version of ATL. They need to upgrade to ATL 8 or disable DEP. This was totally obvious to me, but the person who asked the question met it...

Other
Nov 7, 2007
Post comments count0
Post likes count1

Proto-Microspeak: Pre-envisioning

Raymond Chen

I have only one citation, so it may not become proper Microspeak. Too early to tell. Further discussion will definitely generate a lot of good ideas and help drive them for pre-envisioning. Established Microspeak or not, I still don't know what it means.

OtherMicrospeak
Oct 31, 2007
Post comments count0
Post likes count1

It rather involved being on the other side of this airtight hatchway: Local execution

Raymond Chen

The security response team gets all sorts of reports, and a good number of them are from people who just get excited that they were able to do something unusual, even if it isn't a security vulnerability. Attached please find a security exploit in the ABC ActiveX control. If you save this Web page to a file and double-click it, it <does somethi...

Other
Oct 12, 2007
Post comments count0
Post likes count2

No good deed goes unpunished: Free code samples

Raymond Chen

There's no such thing as a free lunch. Or free code either. Many years ago, I wrote some samples for the SDK as a favor, and at each major SDK release, I am reminded that no good deed goes unpunished. I can tell when a major SDK release is coming, because I get a piece of mail that goes something like this: Hi. You are on file as the owner of at...

OtherNo good deed goes unpunished
Oct 3, 2007
Post comments count0
Post likes count1

The most important choice in writing is not what you say, it’s what you don’t say

Raymond Chen

"The most important choice in writing is not what you say. It's what you don't say." Eric Gunnerson gave me that advice when I was writing my book. It's sort of the writing version of "You don't know what you do until you know what you don't do." That's why I'll write Of course, you probably wonder this magical comes from. It comes from the...

Other