Showing tag results for Other

Oct 19, 2009
Post comments count0
Post likes count1

Thinking inside the box

Raymond Chen
Raymond Chen

Commenter Nick asks whether any though has been given to running applications in a sandbox where they are given access only to their installation directory, My Documents, and a handful of other directories and registry keys. "I feel that this would seriously prevent viruses/spyware from being as effective, and apps would not be able to dump files ...

Other
Oct 14, 2009
Post comments count0
Post likes count1

When you want to pass a parameter on the command line, don't forget to pass the parameter on the command line

Raymond Chen
Raymond Chen

This happens to me, too. I once got so distracted by the process of purchasing some tickets in person, choosing the performance date and the seats, fumbling for my credit card, signing the receipt, and when I was done, I left the ticket booth without my tickets! Here is a question that came in from a customer. The details have been changed but t...

Other
Oct 13, 2009
Post comments count0
Post likes count0

Why do we have import libraries anyway?

Raymond Chen
Raymond Chen

Last time we looked at the classical model for linking as groundwork for answering Adam's question why do we need import libraries? Why can't all the type information be encoded in the export table? At the time the model for DLLs was being developed, the classical model still was the primary means by which linking was performed. Men were men and...

Other
Oct 12, 2009
Post comments count0
Post likes count1

The classical model for linking

Raymond Chen
Raymond Chen

Commenter Adam wonders why we need import libraries anyway. Why can't all the type information be encoded in the export table? This goes back to the classical model for linking. This model existed for decades before Microsoft was even founded, so at least this time you don't have Bill Gates to kick around. (Though I'm sure you'll find a way any...

Other
Oct 7, 2009
Post comments count0
Post likes count0

I will be speaking at Reflections|Projections 2009

Raymond Chen
Raymond Chen

The way to get me to show up at your conference is to invite me. The folks who run the Reflections|Projections 2009 conference figured that out. I will be there on Friday the 16th for the job fair in the Siebel Atrium, and my talk How Microsoft is Different from School is scheduled for Saturday morning at 11:15. Attendance is free, but that's no...

Other
Oct 5, 2009
Post comments count0
Post likes count1

Why doesn't the mail image resizer check the image size before offering to resize?

Raymond Chen
Raymond Chen

Commenter Igor lambastes the image resizer dialog that appears when you select Send To Mail Recipient. (And people think I'm the one with the social skills of a thermonuclear device.) This dialog pisses him off so much, he complained about it again. The root of the diatribe appears to be that the image resizer dialog appears, even if it turns ...

Other
Sep 28, 2009
Post comments count0
Post likes count1

Why doesn't Explorer have an interface for creating hard links?

Raymond Chen
Raymond Chen

Nick asks why Explorer doesn't have UI for creating hard links. Heck, while you're at it, why not ask "Why doesn't Explorer have a UI for hex-editing a file?" Remember, all features start out with minus 100 points. Explorer is not under any obligation to expose every last NTFS feature, and it's certainly not going to help to expose an NTFS feat...

Other
Sep 24, 2009
Post comments count0
Post likes count1

When people ask for security holes as features: Privileged execution

Raymond Chen
Raymond Chen

A customer wanted to know if there was a way to execute privileged instructions without having to write a driver. "I just need to execute a few instructions, and writing a driver would be overkill since it's only three instructions. Is there a way I can execute these privileged instructions without a driver?" The whole point of having a class of ...

Other