# Raymond Chen

Practical development throughout the evolution of Windows.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Another failed attempt to get the icon for the icon for the .. parent folder

DevFeed: [Another failed attempt to get the icon for the icon for the .. parent folder](<https://devfeed.tech/articles/another-failed-attempt-to-get-the-icon-for-the-icon-for-the-parent-folder-147045.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261120-00/?p=112883/>)

Author: Raymond Chen

Published: 2026-11-20T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Parser](<https://devfeed.tech/topics/parser.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [directory](<https://devfeed.tech/tags/directory.md>), [drive](<https://devfeed.tech/tags/drive.md>), [failed](<https://devfeed.tech/tags/failed.md>), [file](<https://devfeed.tech/tags/file.md>), [function](<https://devfeed.tech/tags/function.md>), [id](<https://devfeed.tech/tags/id.md>), [internet](<https://devfeed.tech/tags/internet.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [parent](<https://devfeed.tech/tags/parent.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [root](<https://devfeed.tech/tags/root.md>), [shell](<https://devfeed.tech/tags/shell.md>), [string](<https://devfeed.tech/tags/string.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

Appending `..` to an absolute path such as `C:\dir\..` can make `SHGetFileInfo` fail: the Shell namespace parser treats `..` as a child name inside `dir`, rather than as an instruction to move to its parent. Shell folders define their own child syntax, so backslashes and `..` cannot be assumed to have filesystem path semantics throughout the namespace. To move up in the Shell namespace, remove the last component from the item ID list. For path normalization, the excerpt suggests `GetFullPathName` when resolving relative paths against the current directory and removing `.` and `..`, or `PathAllocCombine` (or an equivalent) when only compression is needed.

### Source excerpt

Trying to generate a path that turns out to be invalid. The post Another failed attempt to get the icon for the icon for the <TT>..</TT> parent folder appeared first on The Old New Thing.

## If the Windows documentation doesn't list a particular technology as supporting an operation, does that mean that it doesn't support it?

DevFeed: [If the Windows documentation doesn't list a particular technology as supporting an operation, does that mean that it doesn't support it?](<https://devfeed.tech/articles/if-the-windows-documentation-doesn-t-list-a-particular-technology-as-supporting-an-operation-does-that-mean-that-it-doesn-t-support-it-145260.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261118-00/?p=112870/>)

Author: Raymond Chen

Published: 2026-11-18T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Windows](<https://devfeed.tech/topics/windows.md>), [Documentation](<https://devfeed.tech/topics/documentation.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [file-system](<https://devfeed.tech/tags/file-system.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [protocols](<https://devfeed.tech/tags/protocols.md>), [technologies](<https://devfeed.tech/tags/technologies.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

An omitted file system or network protocol in a Windows support table means Microsoft does not know whether it supports the operation; it does not establish lack of support. A definite lack of support is shown explicitly as "No," as in the cited GetVolumeInformationByHandle example. Because third parties can implement protocols and file system drivers, Windows documentation cannot be comprehensive; consult the documentation for the product that implements the technology.

### Source excerpt

Windows documents what it knows, but it doesn't know what third party network protocols support. The post If the Windows documentation doesn't list a particular technology as supporting an operation, does that mean that it doesn't support it? appeared first on The Old New Thing.

## In the Microsoft employee price list, why did the BASIC compiler cost less than the BASIC interpreter?

DevFeed: [In the Microsoft employee price list, why did the BASIC compiler cost less than the BASIC interpreter?](<https://devfeed.tech/articles/in-the-microsoft-employee-price-list-why-did-the-basic-compiler-cost-less-than-the-basic-interpreter-142042.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261117-00/?p=112866/>)

Author: Raymond Chen

Published: 2026-11-17T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Compiler](<https://devfeed.tech/topics/compiler.md>), [compiled language](<https://devfeed.tech/topics/compiled-language.md>)

Tags: [basic](<https://devfeed.tech/tags/basic.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cost](<https://devfeed.tech/tags/cost.md>), [costs](<https://devfeed.tech/tags/costs.md>), [employee](<https://devfeed.tech/tags/employee.md>), [history](<https://devfeed.tech/tags/history.md>), [interpreter](<https://devfeed.tech/tags/interpreter.md>), [less](<https://devfeed.tech/tags/less.md>), [list](<https://devfeed.tech/tags/list.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [pricing](<https://devfeed.tech/tags/pricing.md>), [scheme](<https://devfeed.tech/tags/scheme.md>)

### AI overview

Microsoft's 1987 employee pricing was based on product cost plus administrative overhead, not on which program was more powerful. The author doesn't know why the BASIC Compiler package cost less to produce, but suggests its manual may have been thinner: it assumed users already knew BASIC and focused on running the compiler and differences from the interpreter. Less paper, a smaller box, and lower shipping and storage costs could explain the lower employee price. The excerpt notes that this was a guess, and that the employee pricing policy later changed.

### Source excerpt

Understanding the pricing scheme. The post In the Microsoft employee price list, why did the BASIC compiler cost less than the BASIC interpreter? appeared first on The Old New Thing.

## How can I make it easier to use the helper class that lets me pass more than one parameter to co\_await?

DevFeed: [How can I make it easier to use the helper class that lets me pass more than one parameter to co\_await?](<https://devfeed.tech/articles/how-can-i-make-it-easier-to-use-the-helper-class-that-lets-me-pass-more-than-one-parameter-to-co-await-133568.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261113-00/?p=112856/>)

Author: Raymond Chen

Published: 2026-11-13T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [await](<https://devfeed.tech/topics/await.md>), [class](<https://devfeed.tech/topics/class.md>), [Parameter](<https://devfeed.tech/topics/parameter.md>)

Tags: [await](<https://devfeed.tech/tags/await.md>), [code](<https://devfeed.tech/tags/code.md>), [coroutine](<https://devfeed.tech/tags/coroutine.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [priority](<https://devfeed.tech/tags/priority.md>), [widget](<https://devfeed.tech/tags/widget.md>)

### AI overview

To avoid making callers name a different "mega-parameter" wrapper for each combination of options, the excerpt has `Widget::start(priority)` return a `with_priority` awaitable that stores a reference to the widget and the chosen priority. A default priority of 0 lets callers write `co_await widget.start()`. The class can also make awaiting the widget directly mean starting with that default priority. The excerpt shows the wrapper forwarding await operations to the widget; omitted code and placeholders mean it does not provide a complete implementation.

### Source excerpt

Remove the need to have to type out the name of the helper. The post How can I make it easier to use the helper class that lets me pass more than one parameter to <CODE>co_await</CODE>? appeared first on The Old New Thing.

## How can I pass more than one parameter to co\_await?

DevFeed: [How can I pass more than one parameter to co\_await?](<https://devfeed.tech/articles/how-can-i-pass-more-than-one-parameter-to-co-await-131222.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261112-00/?p=112851/>)

Author: Raymond Chen

Published: 2026-11-12T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [await](<https://devfeed.tech/topics/await.md>), [Parameter](<https://devfeed.tech/topics/parameter.md>)

Tags: [await](<https://devfeed.tech/tags/await.md>), [code](<https://devfeed.tech/tags/code.md>), [coroutine](<https://devfeed.tech/tags/coroutine.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [operator](<https://devfeed.tech/tags/operator.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [priority](<https://devfeed.tech/tags/priority.md>), [timeout](<https://devfeed.tech/tags/timeout.md>)

### AI overview

`co_await` accepts one operand, so `(widget, priority)` cannot pass a second argument to `await_suspend`. The excerpt's workaround is to wrap the awaitable and the extra value in a helper object, then await that object; the wrapper forwards the value to an internal suspend method. The author notes this approach is unwieldy.

### Source excerpt

The co_await operator takes only one parameter, but it can be a big parameter. The post How can I pass more than one parameter to <CODE>co_await</CODE>? appeared first on The Old New Thing.

## I didn't write a program with emoji, but I did use a control character

DevFeed: [I didn't write a program with emoji, but I did use a control character](<https://devfeed.tech/articles/i-didn-t-write-a-program-with-emoji-but-i-did-use-a-control-character-131221.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261111-00/?p=112848/>)

Author: Raymond Chen

Published: 2026-11-11T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [code analysis](<https://devfeed.tech/topics/code-analysis.md>), [Emoji](<https://devfeed.tech/topics/emoji.md>)

Tags: [command-line](<https://devfeed.tech/tags/command-line.md>), [control](<https://devfeed.tech/tags/control.md>), [dos](<https://devfeed.tech/tags/dos.md>), [echo](<https://devfeed.tech/tags/echo.md>), [emoji](<https://devfeed.tech/tags/emoji.md>), [emulation](<https://devfeed.tech/tags/emulation.md>), [hex](<https://devfeed.tech/tags/hex.md>), [history](<https://devfeed.tech/tags/history.md>), [ibm-pc](<https://devfeed.tech/tags/ibm-pc.md>), [interrupt](<https://devfeed.tech/tags/interrupt.md>), [memory](<https://devfeed.tech/tags/memory.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [program](<https://devfeed.tech/tags/program.md>), [tsrs](<https://devfeed.tech/tags/tsrs.md>)

### AI overview

The author generated a tiny `reboot.com` from the command line using `echo` and keyboard control characters: Alt+Num2,0,5 produces byte `0xCD` in IBM PC code page 437, the `int` instruction, and Ctrl+Y produces `0x19`, completing `int 19h`. The interrupt was a poor reboot method: it preserved memory and interrupt vectors, and could hang systems when TSRs had hooked certain vectors, especially INT 08. The author presents the program as a parlor trick rather than a reliable reboot technique.

### Source excerpt

My program was a fairly simple one. The post I didn't write a program with emoji, but I did use a control character appeared first on The Old New Thing.

## Microsoft employee price list from 1987

DevFeed: [Microsoft employee price list from 1987](<https://devfeed.tech/articles/microsoft-employee-price-list-from-1987-126512.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261110-00/?p=112843/>)

Author: Raymond Chen

Published: 2026-11-10T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Microsoft](<https://devfeed.tech/topics/microsoft.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [apple-ii](<https://devfeed.tech/tags/apple-ii.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [basic](<https://devfeed.tech/tags/basic.md>), [board](<https://devfeed.tech/tags/board.md>), [bus](<https://devfeed.tech/tags/bus.md>), [c](<https://devfeed.tech/tags/c.md>), [catalog](<https://devfeed.tech/tags/catalog.md>), [cobol](<https://devfeed.tech/tags/cobol.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [courseware](<https://devfeed.tech/tags/courseware.md>), [cp-m](<https://devfeed.tech/tags/cp-m.md>), [database](<https://devfeed.tech/tags/database.md>), [developers](<https://devfeed.tech/tags/developers.md>), [dos](<https://devfeed.tech/tags/dos.md>), [employee](<https://devfeed.tech/tags/employee.md>), [history](<https://devfeed.tech/tags/history.md>), [list](<https://devfeed.tech/tags/list.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [product](<https://devfeed.tech/tags/product.md>), [product-catalog](<https://devfeed.tech/tags/product-catalog.md>)

### AI overview

The May 4, 1987 employee catalog lists discounted prices for Microsoft software and related products, with versions for platforms including MS-DOS, Macintosh, IBM, Xenix, Apple II and Softcard. Examples include Flight Simulator at $10 for Macintosh and IBM, Excel at $20 for Macintosh, and Windows at $10; Windows Toolkit for developers was $40. Prices vary by product and platform, and one Word Macintosh entry is marked TBA. The post says these are employee prices rather than retail prices. It also identifies A.L.D.S. as an assembly-language development system for CP/M, describes the Softcard as an Apple II add-on for CP/M, and notes that additional Microsoft Press book pages were omitted. The second page heading says "May 4, 1897," apparently conflicting with the 1987 catalog date.

### Source excerpt

The Microsoft product catalog. The post Microsoft employee price list from 1987 appeared first on The Old New Thing.

## If the Windows Update hot patcher checks that the function hasn't already been patched, does that mean you can't install two hot-patches?

DevFeed: [If the Windows Update hot patcher checks that the function hasn't already been patched, does that mean you can't install two hot-patches?](<https://devfeed.tech/articles/if-the-windows-update-hot-patcher-checks-that-the-function-hasn-t-already-been-patched-does-that-mean-you-can-t-install-two-hot-patches-126511.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261109-00/?p=112841/>)

Author: Raymond Chen

Published: 2026-11-09T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [patches](<https://devfeed.tech/topics/patches.md>)

Tags: [all](<https://devfeed.tech/tags/all.md>), [apply](<https://devfeed.tech/tags/apply.md>), [article](<https://devfeed.tech/tags/article.md>), [brain](<https://devfeed.tech/tags/brain.md>), [can](<https://devfeed.tech/tags/can.md>), [client](<https://devfeed.tech/tags/client.md>), [code](<https://devfeed.tech/tags/code.md>), [cycles](<https://devfeed.tech/tags/cycles.md>), [data](<https://devfeed.tech/tags/data.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [discussion](<https://devfeed.tech/tags/discussion.md>), [first](<https://devfeed.tech/tags/first.md>), [function](<https://devfeed.tech/tags/function.md>), [install](<https://devfeed.tech/tags/install.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [other](<https://devfeed.tech/tags/other.md>), [patched](<https://devfeed.tech/tags/patched.md>), [patches](<https://devfeed.tech/tags/patches.md>), [update](<https://devfeed.tech/tags/update.md>), [windows](<https://devfeed.tech/tags/windows.md>), [windows-update](<https://devfeed.tech/tags/windows-update.md>)

### AI overview

Windows supports two consecutive hot-patch cycles before requiring a traditional update. The post explains that Windows Update can recognize its own earlier patch and knows the code that was originally present. The author thinks applying another hot patch may involve changing the trampoline's far-jump target to the new patch function. The author suspects the two-patch limit prevents internal tracking structures from growing without bound and avoids exhausting patch space in the binary.

### Source excerpt

It knows what it did. The post If the Windows Update hot patcher checks that the function hasn't already been patched, does that mean you can't install two hot-patches? appeared first on The Old New Thing.

## Why are we all worked up about atomicity when applying hot-patches if we can just suspend all the threads?

DevFeed: [Why are we all worked up about atomicity when applying hot-patches if we can just suspend all the threads?](<https://devfeed.tech/articles/why-are-we-all-worked-up-about-atomicity-when-applying-hot-patches-if-we-can-just-suspend-all-the-threads-122103.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261106-00/?p=112838/>)

Author: Raymond Chen

Published: 2026-11-06T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [patches](<https://devfeed.tech/topics/patches.md>), [synchronization](<https://devfeed.tech/topics/synchronization.md>)

Tags: [atomic](<https://devfeed.tech/tags/atomic.md>), [code](<https://devfeed.tech/tags/code.md>), [function](<https://devfeed.tech/tags/function.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [patches](<https://devfeed.tech/tags/patches.md>), [patching](<https://devfeed.tech/tags/patching.md>), [process](<https://devfeed.tech/tags/process.md>), [processors](<https://devfeed.tech/tags/processors.md>), [suspend](<https://devfeed.tech/tags/suspend.md>), [threads](<https://devfeed.tech/tags/threads.md>), [time](<https://devfeed.tech/tags/time.md>), [update](<https://devfeed.tech/tags/update.md>), [variable](<https://devfeed.tech/tags/variable.md>), [windows](<https://devfeed.tech/tags/windows.md>), [windows-update](<https://devfeed.tech/tags/windows-update.md>), [x86](<https://devfeed.tech/tags/x86.md>)

### AI overview

Atomic activation matters because suspending a process's existing threads does not prevent a new, runnable thread from being created with CreateRemoteThread while patching is underway. On processors with variable-length instructions such as x86, a suspended thread may also be poised to execute bytes that become the tail of a replacement instruction; the post says the original instruction must be at least as large as the replacement to avoid that case. Atomicity still cannot guard against concurrent, non-atomic WriteProcessMemory changes, which the post describes as already broken and outside supported hot-patching use.

### Source excerpt

Suspending all the threads stops the threads that are there now, those are not the only possible sources of change. The post Why are we all worked up about atomicity when applying hot-patches if we can just suspend all the threads? appeared first on The Old New Thing.

## You shouldn't change the style of a Win32 static control after it has been created

DevFeed: [You shouldn't change the style of a Win32 static control after it has been created](<https://devfeed.tech/articles/you-shouldn-t-change-the-style-of-a-win32-static-control-after-it-has-been-created-121153.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261105-00/?p=112835/>)

Author: Raymond Chen

Published: 2026-11-05T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [win32](<https://devfeed.tech/topics/win32.md>)

Tags: [behavior](<https://devfeed.tech/tags/behavior.md>), [bug](<https://devfeed.tech/tags/bug.md>), [change](<https://devfeed.tech/tags/change.md>), [code](<https://devfeed.tech/tags/code.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [control](<https://devfeed.tech/tags/control.md>), [created](<https://devfeed.tech/tags/created.md>), [image](<https://devfeed.tech/tags/image.md>), [leak](<https://devfeed.tech/tags/leak.md>), [message](<https://devfeed.tech/tags/message.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [static](<https://devfeed.tech/tags/static.md>), [style](<https://devfeed.tech/tags/style.md>), [text](<https://devfeed.tech/tags/text.md>), [win32](<https://devfeed.tech/tags/win32.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

A Win32 classic static control assumes its style stays fixed for its lifetime and does not respond to WM_STYLECHANGED. Changing an image control to text can therefore make it skip freeing the image when destroyed, leaking it. This behavior remains for backward compatibility, since programs may already delete the image themselves; changing the control to free it could cause a double delete. To switch styles, destroy and recreate the control, or keep separate controls and show the one needed.

### Source excerpt

It doesn't really handle that case. The post You shouldn't change the style of a Win32 static control after it has been created appeared first on The Old New Thing.

## There are things with ranks, but it's not always clear what the ranks mean

DevFeed: [There are things with ranks, but it's not always clear what the ranks mean](<https://devfeed.tech/articles/there-are-things-with-ranks-but-it-s-not-always-clear-what-the-ranks-mean-118976.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261104-00/?p=112830/>)

Author: Raymond Chen

Published: 2026-11-04T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Documentation](<https://devfeed.tech/topics/documentation.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [api](<https://devfeed.tech/tags/api.md>), [code](<https://devfeed.tech/tags/code.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [driver](<https://devfeed.tech/tags/driver.md>), [feature](<https://devfeed.tech/tags/feature.md>), [i-o](<https://devfeed.tech/tags/i-o.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>)

### AI overview

The post shows how documentation can leave "rank" undefined, then explains the Windows package graph's actual ordering: packages are searched in ascending rank, so lower ranks have precedence. A process's graph starts empty; declared dependencies are added at rank zero in static resolution order. `AddPackageDependency` inserts a package after lower-ranked packages and before higher-ranked ones. By default, it follows packages with the same rank; `AddPackageDependencyOptions_PrependIfRankCollision` places it before them. Because rank is a signed integer, a negative rank can place a package ahead of the static dependencies. The post contrasts this unclear documentation with SQL Server full-text search, where higher rank explicitly means a more relevant match, and filter-driver altitude, where lower numerical altitude means loading lower in the I/O stack.

### Source excerpt

The problem with documentation written by people who know the feature too well. The post There are things with ranks, but it's not always clear what the ranks mean appeared first on The Old New Thing.

## How do you implement a random-access database when you don't have random-access external storage?

DevFeed: [How do you implement a random-access database when you don't have random-access external storage?](<https://devfeed.tech/articles/how-do-you-implement-a-random-access-database-when-you-don-t-have-random-access-external-storage-116366.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261103-00/?p=112825/>)

Author: Raymond Chen

Published: 2026-11-03T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [in-memory database](<https://devfeed.tech/topics/in-memory-database.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [basic](<https://devfeed.tech/tags/basic.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [directory](<https://devfeed.tech/tags/directory.md>), [history](<https://devfeed.tech/tags/history.md>), [memory](<https://devfeed.tech/tags/memory.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [program](<https://devfeed.tech/tags/program.md>), [storage](<https://devfeed.tech/tags/storage.md>)

### AI overview

The Apple II telephone directory stored its records inside the BASIC program itself: it read them from `DATA` statements and used `POKE` to modify those statements when records changed. Saving the program to cassette therefore saved both the code and the directory in one pass. Although the Apple II could save a separate block of memory to tape, embedding the data avoided a second cassette load when using the directory. The excerpt is uncertain whether the data appeared in `DATA` statements or comments, but says the same principle applies.

### Source excerpt

You just store it all in memory, in your own program. The post How do you implement a random-access database when you don't have random-access external storage? appeared first on The Old New Thing.

## Sneaking into the auditorium for the Windows 2000 launch rehearsal

DevFeed: [Sneaking into the auditorium for the Windows 2000 launch rehearsal](<https://devfeed.tech/articles/sneaking-into-the-auditorium-for-the-windows-2000-launch-rehearsal-113442.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261102-00/?p=112818/>)

Author: Raymond Chen

Published: 2026-11-02T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Windows](<https://devfeed.tech/topics/windows.md>)

Tags: [history](<https://devfeed.tech/tags/history.md>), [launch](<https://devfeed.tech/tags/launch.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [patrick-stewart](<https://devfeed.tech/tags/patrick-stewart.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

At the Windows 2000 launch rehearsal in San Francisco, a team member who slipped into the empty auditorium mistook a stand-in for the announced host. The stage opening showed a mock laptop booting into Windows 2000 and launching a video montage, followed by an announcement welcoming Patrick Stewart; seconds later, a headset-wearing crew member took the stage to help camera and lighting crews rehearse. At the event, Stewart appeared for real and delivered the Windows 2000 presentation. The excerpt also notes that the expo staffed booths and informal feature demonstrations, while a staged airplane sketch illustrated infrared file sharing and other mobile computing scenarios.

### Source excerpt

Wait, that's not him. The post Sneaking into the auditorium for the Windows 2000 launch rehearsal appeared first on The Old New Thing.

## The support case of a customer who said that all they could see was a black screen

DevFeed: [The support case of a customer who said that all they could see was a black screen](<https://devfeed.tech/articles/the-support-case-of-a-customer-who-said-that-all-they-could-see-was-a-black-screen-107321.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261029-00/?p=112808/>)

Author: Raymond Chen

Published: 2026-10-29T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Support](<https://devfeed.tech/topics/support.md>), [screen](<https://devfeed.tech/topics/screen.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [background](<https://devfeed.tech/tags/background.md>), [black](<https://devfeed.tech/tags/black.md>), [black-screen](<https://devfeed.tech/tags/black-screen.md>), [bug](<https://devfeed.tech/tags/bug.md>), [builds](<https://devfeed.tech/tags/builds.md>), [button](<https://devfeed.tech/tags/button.md>), [color](<https://devfeed.tech/tags/color.md>), [colors](<https://devfeed.tech/tags/colors.md>), [command](<https://devfeed.tech/tags/command.md>), [compositor](<https://devfeed.tech/tags/compositor.md>), [computer](<https://devfeed.tech/tags/computer.md>), [control-panel](<https://devfeed.tech/tags/control-panel.md>), [customer](<https://devfeed.tech/tags/customer.md>), [customer-support](<https://devfeed.tech/tags/customer-support.md>), [desktop](<https://devfeed.tech/tags/desktop.md>), [drawing](<https://devfeed.tech/tags/drawing.md>), [driver](<https://devfeed.tech/tags/driver.md>), [history](<https://devfeed.tech/tags/history.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [screen](<https://devfeed.tech/tags/screen.md>), [support](<https://devfeed.tech/tags/support.md>)

### AI overview

Holding a PC's power button for eight seconds prompts Windows to capture an emergency kernel dump; a 12-second hold forces hardware-level shutdown. Dumps that show an all-black screen are classified as black screen LPBH failures and routed to a specialist team. Causes can range from a broken video driver to the compositor supplying black pixels or no content being drawn, including because the usual drawing process is hung. The excerpt also recounts a Windows 3.1 case where a customer set every color, including text and backgrounds, to black, making the interface invisible. The author guesses support may have restored defaults by deleting the `[colors]` section from `win.ini`, but says the actual fix is unknown.

### Source excerpt

Then again, that is what they asked for. The post The support case of a customer who said that all they could see was a black screen appeared first on The Old New Thing.

## C++/WinRT overcorrection: Using make\_self and immediately converting it to the projected interface

DevFeed: [C++/WinRT overcorrection: Using make\_self and immediately converting it to the projected interface](<https://devfeed.tech/articles/c-winrt-overcorrection-using-make-self-and-immediately-converting-it-to-the-projected-interface-105914.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261028-00/?p=112803/>)

Author: Raymond Chen

Published: 2026-10-28T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [interface implementation](<https://devfeed.tech/topics/interface-implementation.md>), [interface](<https://devfeed.tech/topics/interface.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [projection](<https://devfeed.tech/tags/projection.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

C++/WinRT offers two creation paths for objects you implement. `make<Impl>` returns the projected Windows Runtime object; use `get_self<Impl>` if you later need implementation-only members. `make_self<Impl>` returns a `winrt::com_ptr<Impl>`, letting you access those members first and convert to the projection with `*`. Choose based on what you need to do first: use `make_self` for setup through implementation members, but when you only need the projection, return it directly from `make_self` rather than creating a pointer and converting it separately.

### Source excerpt

You are taking the scenic route. The post C++/WinRT overcorrection: Using <CODE>make_self</CODE> and immediately converting it to the projected interface appeared first on The Old New Thing.

## Why don't we run the taskbar and Task Manager at high priority, so they can remain responsive?

DevFeed: [Why don't we run the taskbar and Task Manager at high priority, so they can remain responsive?](<https://devfeed.tech/articles/why-don-t-we-run-the-taskbar-and-task-manager-at-high-priority-so-they-can-remain-responsive-103558.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261027-00/?p=112800/>)

Author: Raymond Chen

Published: 2026-10-27T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [scheduling](<https://devfeed.tech/topics/scheduling.md>), [Process](<https://devfeed.tech/topics/process.md>)

Tags: [cpu](<https://devfeed.tech/tags/cpu.md>), [critical](<https://devfeed.tech/tags/critical.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [other](<https://devfeed.tech/tags/other.md>), [priority](<https://devfeed.tech/tags/priority.md>), [priority-inversion](<https://devfeed.tech/tags/priority-inversion.md>), [processes](<https://devfeed.tech/tags/processes.md>), [resource](<https://devfeed.tech/tags/resource.md>), [thread](<https://devfeed.tech/tags/thread.md>), [threads](<https://devfeed.tech/tags/threads.md>), [tools](<https://devfeed.tech/tags/tools.md>), [ui](<https://devfeed.tech/tags/ui.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Running the taskbar or Task Manager at high priority would not guarantee responsiveness during CPU starvation. A high-priority thread can still block on a shared resource held by a lower-priority thread, potentially one doing slow work such as accessing a file over the network. UI code can also contend with other UI threads. Windows gives preferential treatment to the focused program, so focusing the taskbar or Task Manager helps, but cannot prevent stalls when preferred threads depend on resources controlled by other threads.

### Source excerpt

Hurry up and wait. The post Why don't we run the taskbar and Task Manager at high priority, so they can remain responsive? appeared first on The Old New Thing.

## Puzzling out why a program doesn't work when run from a batch file, but works when double-clicked from Explorer

DevFeed: [Puzzling out why a program doesn't work when run from a batch file, but works when double-clicked from Explorer](<https://devfeed.tech/articles/puzzling-out-why-a-program-doesn-t-work-when-run-from-a-batch-file-but-works-when-double-clicked-from-explorer-101282.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261026-00/?p=112797/>)

Author: Raymond Chen

Published: 2026-10-26T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Batch file](<https://devfeed.tech/topics/batch-file.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [directory](<https://devfeed.tech/tags/directory.md>), [environment](<https://devfeed.tech/tags/environment.md>), [error](<https://devfeed.tech/tags/error.md>), [explorer](<https://devfeed.tech/tags/explorer.md>), [files](<https://devfeed.tech/tags/files.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [other](<https://devfeed.tech/tags/other.md>), [program](<https://devfeed.tech/tags/program.md>)

### AI overview

Explorer sets a launched program's current directory to the folder containing the double-clicked file or executable. A batch file that launches the program by full path may leave the current directory elsewhere, breaking programs that look for ancillary files there. The customer fixed the issue by using `pushd` to switch to the program's directory and `popd` to restore the original directory. As a secondary possibility, the post suggests checking whether the program has an `App Paths` entry that adds directories to `PATH` at launch; this was not needed in the reported case.

### Source excerpt

Mimicking the operation more accurately. The post Puzzling out why a program doesn't work when run from a batch file, but works when double-clicked from Explorer appeared first on The Old New Thing.

## Why do we need ud2 when int 6 is right there?

DevFeed: [Why do we need ud2 when int 6 is right there?](<https://devfeed.tech/articles/why-do-we-need-ud2-when-int-6-is-right-there-90671.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261019-00/?p=112781/>)

Author: Raymond Chen

Published: 2026-10-19T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Exception](<https://devfeed.tech/topics/exception.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [exception](<https://devfeed.tech/tags/exception.md>), [invalid-opcode](<https://devfeed.tech/tags/invalid-opcode.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [operating-system](<https://devfeed.tech/tags/operating-system.md>), [software](<https://devfeed.tech/tags/software.md>)

### AI overview

The article explains why the x86 `ud2` instruction cannot be replaced by an explicit `int 6` to trigger an invalid-opcode fault. A fault reports the address of the faulting instruction, while a trap reports the address of the following instruction, which can confuse the operating system's exception handler. User-mode programs also lack permission to invoke `int 6` directly.

### Source excerpt

An interrupt is not a fault. The post Why do we need <CODE>ud2</CODE> when <CODE>int 6</CODE> is right there? appeared first on The Old New Thing.

## C++ futures part 5: std::future and std::shared\_future

DevFeed: [C++ futures part 5: std::future and std::shared\_future](<https://devfeed.tech/articles/c-futures-part-5-std-future-and-std-shared-future-88474.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261016-00/?p=112778/>)

Author: Raymond Chen

Published: 2026-10-16T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [synchronization](<https://devfeed.tech/topics/synchronization.md>), [c/c++](<https://devfeed.tech/topics/c-c-plus-plus.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>)

### AI overview

This installment explains how C++ std::future and std::shared_future retrieve values from a shared source. A future is move-only and allows one retrieval, while shared_future is copyable and lets multiple consumers retrieve the value repeatedly through a const reference. The post also notes the tradeoff for move-only results and discusses alternative names for futures library components.

### Source excerpt

Getting the results back out. The post C++ futures part 5: <CODE>std::<WBR>future</CODE> and <CODE>std::<WBR>shared_future</CODE> appeared first on The Old New Thing.

## C++ futures part 4: What if I want an immediate on-thread std::async?

DevFeed: [C++ futures part 4: What if I want an immediate on-thread std::async?](<https://devfeed.tech/articles/c-futures-part-4-what-if-i-want-an-immediate-on-thread-std-async-88254.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261015-00/?p=112776/>)

Author: Raymond Chen

Published: 2026-10-15T14:00:00Z

Content type: tutorial

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Programming language](<https://devfeed.tech/topics/programming-language.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [future](<https://devfeed.tech/tags/future.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>)

### AI overview

The post shows ways to produce an immediately completed C++ `std::future` for an on-thread calculation, using a promise, a packaged task, or deferred `std::async` followed by `wait()`.

### Source excerpt

Providing the case that the C++ language won't do. The post C++ futures part 4: What if I want an immediate on-thread <CODE>std::async</CODE>? appeared first on The Old New Thing.

## C++ futures part 3: The mental model for std::async

DevFeed: [C++ futures part 3: The mental model for std::async](<https://devfeed.tech/articles/c-futures-part-3-the-mental-model-for-std-async-88253.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261014-00/?p=112774/>)

Author: Raymond Chen

Published: 2026-10-14T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [ExecutorService](<https://devfeed.tech/topics/executorservice.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>)

### AI overview

The post explains the mental model for C++ std::async, comparing when a callable runs and whether it runs on the requesting thread or its own thread. It notes that the C++ standard does not allow immediate execution on the same thread through this mechanism, and that when launch options are combined, an implementation may honor one and ignore the other.

### Source excerpt

Doing things later in different ways. The post C++ futures part 3: The mental model for <CODE>std::async</CODE> appeared first on The Old New Thing.

## C++ futures part 2: The mental model for std::promise, std::packaged\_task

DevFeed: [C++ futures part 2: The mental model for std::promise, std::packaged\_task](<https://devfeed.tech/articles/c-futures-part-2-the-mental-model-for-std-promise-std-packaged-task-85880.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261013-00/?p=112769/>)

Author: Raymond Chen

Published: 2026-10-13T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Promise](<https://devfeed.tech/topics/promise.md>), [await](<https://devfeed.tech/topics/await.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [exception](<https://devfeed.tech/tags/exception.md>), [future](<https://devfeed.tech/tags/future.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>)

### AI overview

This installment explains how the shared state behind C++ futures is used and passed around. It describes how std::promise and std::packaged_task place values or exceptions in that state for retrieval through a future.

### Source excerpt

Building things out of the state. The post C++ futures part 2: The mental model for <CODE>std::promise</CODE>, <CODE>std::packaged_task</CODE> appeared first on The Old New Thing.

## C++ futures part 1: The mental model

DevFeed: [C++ futures part 1: The mental model](<https://devfeed.tech/articles/c-futures-part-1-the-mental-model-85879.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261012-00/?p=112767/>)

Author: Raymond Chen

Published: 2026-10-12T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [ExecutorService](<https://devfeed.tech/topics/executorservice.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [mutex](<https://devfeed.tech/tags/mutex.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [state](<https://devfeed.tech/tags/state.md>), [thread](<https://devfeed.tech/tags/thread.md>)

### AI overview

The post explains a simplified model of the shared state behind C++ futures-related facilities. It describes setting a value or exception, waiting for a result, and retrieving or consuming it, with a mutex and condition variable for thread-safe access.

### Source excerpt

Managing a value that is produced later. The post C++ futures part 1: The mental model appeared first on The Old New Thing.

## One way of thinking about access specifiers in C++/WinRT implementation types

DevFeed: [One way of thinking about access specifiers in C++/WinRT implementation types](<https://devfeed.tech/articles/one-way-of-thinking-about-access-specifiers-in-c-winrt-implementation-types-85050.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261009-00/?p=112764/>)

Author: Raymond Chen

Published: 2026-10-09T14:00:00Z

Content type: tutorial

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [implementation](<https://devfeed.tech/topics/implementation.md>), [Windows UI Library (WinUI)](<https://devfeed.tech/topics/winui.md>), [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [interface](<https://devfeed.tech/tags/interface.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [post](<https://devfeed.tech/tags/post.md>), [type](<https://devfeed.tech/tags/type.md>), [widget](<https://devfeed.tech/tags/widget.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

The post explains how C++/WinRT implementation types use C++ access specifiers. It contrasts public members that implement interfaces with members visible within a module, protected members accessible to derived implementation classes, and private members. It also describes how the IDL compiler generates interfaces from a runtime class declaration.

### Source excerpt

Mapping them to concepts from C# and the now-defunct C++/CX. The post One way of thinking about access specifiers in C++/WinRT implementation types appeared first on The Old New Thing.

[Next page](<https://devfeed.tech/sources/raymond-chen.md?cursor=WyIyMDI2LTEwLTA5VDE0OjAwOjAwKzAwOjAwIiwgImY3NjFhZmJmLWExMWYtNGE5Ni05ODdhLTAzMmZmOGMxMjc4MSJd>)