Showing results for February 2014 - Page 3 of 3 - The Old New Thing

Feb 7, 2014
0
0

VirtualLock locks your memory into the working set, even if your threads are blocked

Raymond Chen
Raymond Chen

Today, a correction to an earlier article on . When you lock memory with , it will remain locked even if all your threads are blocked. As noted in the Follow-up section at the end of the referenced article, the behavior of the operating system never changed. Virtually-locked pages were never unlocked in practice. What changed is that an implement...

Code
Feb 6, 2014
0
0

The United States Team uniforms for the opening ceremony is rather hideous, and illegal, and a bit anachronistic

Raymond Chen
Raymond Chen

By the time you read this, the opening ceremony for a large sporting event organized by a lawsuit-happy organization may already have taken place. As part of the ceremony, the team representing the United States entered wearing ugly uniforms. They're so ugly that even the hideous Christmas sweater in your closet, the one with the reindeer and wre...

Non-Computer
Feb 5, 2014
0
0

How do I prevent folders like My Pictures from being recreated?

Raymond Chen
Raymond Chen

Another converse of How do I programmatically create folders like My Pictures if they were manually deleted? and Why do folders like "My Pictures" come back after I delete them? is How do I prevent folders like My Pictures from being recreated? Starting in Windows 7, there is a group policy called Disable Known Folders which lets you speci...

Tips/Support
Feb 4, 2014
0
0

Racing email against a snail

Raymond Chen
Raymond Chen

The Windows team double-dogfoods Windows Server and Exchange Server, and while this is good for both products, it can be quite frustrating when something goes wrong. I remember back in the early days of the Windows 95 project, the mail servers once got so messed up that some email messages were not delivered for several days. After a colleag...

Other
Feb 3, 2014
0
0

How can I make a WNDPROC or DLGPROC a member of my C++ class?

Raymond Chen
Raymond Chen

Continuing my discussion of How can I make a callback function a member of my C++ class? Common special cases for wanting to use a member function as a callback function are the window procedure and its cousin the dialog procedure. The question, then, is where to put the reference data. Let's start with window procedures. The function and it...

Code