The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Apr 16, 2024
Post comments count 2
Post likes count 2

Dubious security vulnerability: Program allows its output to be exfiltrated

Raymond Chen

Once the output is generated, the program can't control where it goes.

Apr 15, 2024
Post comments count 4
Post likes count 2

What were the tax consequences of letting Windows 95 team members keep a piece of software as long as they tested it?

Raymond Chen

It basically falls under the <I>de minimis</I> rule.

Apr 12, 2024
Post comments count 8
Post likes count 7

The case of the string being copied from a mysterious pointer to invalid memory

Raymond Chen

Using AppVerifier to deduce the heap allocation history.

Apr 11, 2024
Post comments count 3
Post likes count 2

Why do STANDARD_RIGHTS_READ, STANDARD_RIGHTS_WRITE, and STANDARD_RIGHTS_EXECUTE have the same values?

Raymond Chen

Don't they mean different things?

Apr 10, 2024
Post comments count 1
Post likes count 1

How can I find out which process has locked me out of the clipboard?

Raymond Chen

You can ask for the clipboard opener.

Apr 9, 2024
Post comments count 0
Post likes count 1

If I enumerate all the processes and add up all the Get­Gui­Resources, why doesn’t it match the GR_GLOBAL value?

Raymond Chen

There are some things that aren't charged to processes.

Apr 8, 2024
Post comments count 18
Post likes count 4

How does the classic Win32 ListView handle incremental searching?

Raymond Chen

Combining prefix search with repeated search, to accommodate multiple styles.

Apr 5, 2024
Post comments count 0
Post likes count 2

The case of the exception that a catch (…) didn’t catch

Raymond Chen

Reconstructing a false history.

Apr 4, 2024
Post comments count 16
Post likes count 4

It rather involved being on the other side of this airtight hatchway: System corruption caused by an administrator

Raymond Chen

If your goal was to corrupt the system, you sure are doing it the hard way.