The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Aug 2, 2018
Post comments count 0
Post likes count 1

Creating an awaitable lock for C++ PPL tasks

Raymond Chen

Rolling our own.

Aug 1, 2018
Post comments count 0
Post likes count 1

Creating an apartment-aware PPL task from nothing

Raymond Chen

It says it has to be <CODE>IAsync­Action</CODE>- or <CODE>IAync­Operation<T></CODE>-derived, so let's do that.

Jul 31, 2018
Post comments count 0
Post likes count 1

Server names: One of the remaining places where IT managers can be a little silly

Raymond Chen

Usually by establishing a theme.

Jul 30, 2018
Post comments count 0
Post likes count 1

Dark Pattern: Opt-in above the fold, but opt-out below the fold

Raymond Chen

Don't stop yet. Read all the way to the end.

Jul 27, 2018
Post comments count 0
Post likes count 2

Is the Terminate­Thread function synchronous?

Raymond Chen

Nope. It merely starts the termination but does not wait for the termination to complete.

Jul 26, 2018
Post comments count 0
Post likes count 1

What happens to custom unhandled exception filters if a debugger is not running?

Raymond Chen

Nothing, that's what. Absolutely nothing.

Jul 25, 2018
Post comments count 0
Post likes count 1

Why are my file write operations synchronous, even though I opened the file as FILE_FLAG_OVERLAPPED?

Raymond Chen

Extending the valid bytes is always synchronous.

Jul 24, 2018
Post comments count 0
Post likes count 1

Pushing the boundaries of cryptography in a security vulnerability report

Raymond Chen

If it's what you say, then you don't need a supercomputer.

Jul 23, 2018
Post comments count 0
Post likes count 1

The heavy metal umlaut reaches baked goods

Raymond Chen

For that extra Germanic oomph.