Showing tag results for Other

Jan 20, 2009
Post comments count0
Post likes count1

If you didn’t like the answer, asking the same question again is unlikely to help

Raymond Chen

I find it surprising how often this happens. A customer liaison will send a question to a mailing list like this: From: X To: Gizmo Discussion Hi, everybody. My customer is using the Gizmo Toolkit and wants to frob a gizmo without first registering as a frobber. They created the gizmo with , passing all the default flags, and then they call ...

Otheremail
Jan 19, 2009
Post comments count0
Post likes count1

Why isn’t the screen resolution a per-user setting?

Raymond Chen

Via the suggestion box, Dominic Self asks why screen resolution is a global setting rather than a per-user setting. Well, first of all, it's not even a global setting. It's a session setting. That it's not a global setting is not readily apparent most of the time since only Windows Terminal Server is set up to support multiple simultaneous inter...

Other
Jan 16, 2009
Post comments count0
Post likes count1

You cannot pre-emptively reserve a file extension

Raymond Chen

The following question came in from a customer: If our program isn't installed and users double-click our document, they get sent to a Web site that presents a list of programs, but we want to send the user directly to our download site. How do we claim a file extension for our application? Um, you don't. You cannot pre-emptively reserve a ...

Other
Jan 15, 2009
Post comments count0
Post likes count1

What is this magic setting that synthesizes Unicode from non-Unicode?

Raymond Chen

Commenter dan g. wonders how Windows can treat non-Unicode applications as Unicode via the Regional and Language Options control panel, specifically the part that lets you choose the Language for non-Unicode programs. "Having always believed that the only way to display, say, Chinese characters correctly was to compile with _UNICODE, this facility...

Other
Jan 13, 2009
Post comments count0
Post likes count1

Where does shell.windows.com get information about file extensions, and how do I get in on that action?

Raymond Chen

If you double-click a file for which there is no registered handler, Windows will offer to visit the Web service on shell.windows.com to locate a program that can open it. But where does this information come from, and how can you add your program to the database? Knowledge Base article Q929149, titled Windows File Association System On-Boardin...

Other
Jan 12, 2009
Post comments count0
Post likes count1

xkcd breaks the news on the new Windows 7 user interface

Raymond Chen

Last week, Web comic xkcd covered the new Windows 7 user interface. Unfortunately, they got the wrong operating system. It was Windows XP that had a picture of Hitler (according to a few of our beta testers).

Other
Jan 8, 2009
Post comments count0
Post likes count0

The programmers don’t design skins; they just make skins possible

Raymond Chen

Not all skill sets are interchangeable. That's why we have concepts like division of labor and specialization. But it appears that not everybody understands this. I was reminded of this topic when I read the reactions to the Microsoft Exchange Team announcing that they had added Xbox and Zune themes to OWA. Many people were shocked, such as Lo...

Other
Dec 30, 2008
Post comments count0
Post likes count1

Every crash is a potential security vulnerability

Raymond Chen

Whenever I post about a programming error that can lead to crashes, the security team gets all excited and starts looking for ways to exploit it. For example, when I wrote about the fundamentally flawed flag, the security folks went scouring through the Windows source code looking for anybody who passed that flag, and then tried to come up with ...

Other
Dec 23, 2008
Post comments count0
Post likes count1

Why isn’t there a SendThreadMessage function?

Raymond Chen

Here's an interesting customer question: Windows has and . It also has but no . Why isn't there a function? Am I forced to simulate it with an event? What would this imaginary function do? Recall that delivers the message directly to the window procedure; the message pump never sees it. The imaginary function would have to deliver the me...

Other
Dec 22, 2008
Post comments count0
Post likes count1

On 64-bit Windows, 32-bit programs run in an emulation layer, and if you don’t like that, then don’t use the emulator

Raymond Chen

On 64-bit Windows, 32-bit programs run in an emulation layer. This emulation layer simulates the x86 architecture, virtualizing the CPU, the file system, the registry, the environment variables, the system information functions, all that stuff. If a 32-bit program tries to look at the system, it will see a 32-bit system. For example, if the program...

Other