The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Exploring the problem: Create a file that only one process can write to
Oct 13, 2017
Post comments count 0
Post likes count 0

Exploring the problem: Create a file that only one process can write to

Raymond Chen
Raymond Chen

That's not the real problem.

Why does my program crash when I throw an exception from an APC?
Oct 12, 2017
Post comments count 0
Post likes count 0

Why does my program crash when I throw an exception from an APC?

Raymond Chen
Raymond Chen

Because c'mon.

How can I specify that my DLL should resolve a DLL dependency from the same directory that the DLL is in?
Oct 11, 2017
Post comments count 0
Post likes count 0

How can I specify that my DLL should resolve a DLL dependency from the same directory that the DLL is in?

Raymond Chen
Raymond Chen

Use the manifest.

Microspeak: Gardening
Oct 10, 2017
Post comments count 0
Post likes count 0

Microspeak: Gardening

Raymond Chen
Raymond Chen

General housekeeping.

Why does NTVDM create empty IO.SYS and MSDOS.SYS files?
Oct 9, 2017
Post comments count 0
Post likes count 0

Why does NTVDM create empty IO.SYS and MSDOS.SYS files?

Raymond Chen
Raymond Chen

Compatibility, of course.

How can I investigate the possibility of a lot of leaked window classes (RegisterClass)?
Oct 6, 2017
Post comments count 0
Post likes count 1

How can I investigate the possibility of a lot of leaked window classes (RegisterClass)?

Raymond Chen
Raymond Chen

Looking for names.

Evaluating the security consequences of an instance of reading past the end of a buffer
Oct 5, 2017
Post comments count 0
Post likes count 0

Evaluating the security consequences of an instance of reading past the end of a buffer

Raymond Chen
Raymond Chen

In order to get the information, you must already have significant powers.

Reconciling yucky boys and gross kissing with the occasional dance
Oct 4, 2017
Post comments count 0
Post likes count 0

Reconciling yucky boys and gross kissing with the occasional dance

Raymond Chen
Raymond Chen

Just friends.

The Resource Compiler’s preprocessor is not the same as the C preprocessor
Oct 4, 2017
Post comments count 0
Post likes count 1

The Resource Compiler’s preprocessor is not the same as the C preprocessor

Raymond Chen
Raymond Chen

It's a very limited subset.