The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Nov 12, 2018
Post comments count
0
Post likes count
1
The case of the System process that consumed a lot of CPU
Let's look at the performance trace.
Nov 9, 2018
Post comments count
0
Post likes count
1
Gotchas when using linker sections to arrange data, part 2
An unexpected null could throw the whole thing out of alignment.
Nov 8, 2018
Post comments count
0
Post likes count
2
Gotchas when using linker sections to arrange data, part 1
Nulls can show up in unexpected places.
Nov 7, 2018
Post comments count
0
Post likes count
2
Using linker segments and __declspec(allocate(…)) to arrange data in a specific order
Getting the ducks in a row, in order.
Nov 6, 2018
Post comments count
0
Post likes count
1
Dubious security vulnerability: A program that adds a user to the Administrators group in the usual way
This is a perfectly legitimate program.
Nov 5, 2018
Post comments count
0
Post likes count
1
Sure, you can implement your own cryptographic service provider for a standard algorithm, but why would you?
You are signing up for a very big world of hurt.
Nov 2, 2018
Post comments count
0
Post likes count
1
Why does the MonthCalendar control show the wrong week numbers in Romania?
Wrong from whose point of view?
Nov 1, 2018
Post comments count
0
Post likes count
0
In the state of Washington, you are allowed to turn left on a red light onto a one-way street
And freeway onramps count as one-way streets.
Nov 1, 2018
Post comments count
0
Post likes count
1
If the prototypes of DispatchMessageA and DispatchMessageW are identical, why have both?
Because there's still a character set dependency.