The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Jun 3, 2016
Post comments count
0
Post likes count
1
Why does SetFileValidData fail even though I enabled the SE_MANAGE_VOLUME_NAME privilege?
It's all in the timing.
Jun 2, 2016
Post comments count
0
Post likes count
1
How can I tell whether a file is on a removable drive, a fixed drive, or a remote drive?
Beware of the volume mount point.
Jun 1, 2016
Post comments count
0
Post likes count
1
Why does SHGetKnownFolderPath fail when impersonating?
Because there's a special way to call it for impersonation.
May 31, 2016
Post comments count
0
Post likes count
1
The chain reaction started when a customer’s line of business application doesn’t work with UNCs
Fighting over a registry key.
May 30, 2016
Post comments count
0
Post likes count
1
Printing the name and position of the focused item on the desktop
You already know how to get the view, so ask the view.
May 27, 2016
Post comments count
0
Post likes count
1
Diagnosing a crash in unloaded_something.dll
Find out what used to be loaded there.
May 26, 2016
Post comments count
0
Post likes count
1
Debugging session: Which of the many things happening in this single line of code is the one that crashed?
Let's go to the disassembly.
May 25, 2016
Post comments count
0
Post likes count
2
How can I generate a stack backtrace that is independent of ASLR?
Use module offsets rather than absolute addresses.
May 24, 2016
Post comments count
0
Post likes count
1
How do I create a directory where people can create subdirectories but cannot mess with those created by other users?
Advanced ACL games.