The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

May 30, 2024
Post comments count 1
Post likes count 1

A graphical depiction of the steps in building a C++ executable, enhanced for classic Win32

Raymond Chen

Adding in Microsoft-specific tools.

May 29, 2024
Post comments count 5
Post likes count 2

A graphical depiction of the steps in building a C++ executable, basics

Raymond Chen

A high-level overview.

May 28, 2024
Post comments count 6
Post likes count 4

How can I force a DLL to register itself if it won’t respond to regsvr32?

Raymond Chen

You can't force something that isn't there.

May 27, 2024
Post comments count 3
Post likes count 3

Is there any difference between String­From­IID and String­From­CLSID?

Raymond Chen

Not really.

May 24, 2024
Post comments count 0
Post likes count 2

Setting the contents of a Windows Runtime Vector from C++/WinRT in one call

Raymond Chen

The one-stop shop for updating a Windows Runtime Vector.

May 23, 2024
Post comments count 0
Post likes count 1

Creating a prepopulated Windows Runtime Vector from C++/WinRT without going through an explicit std::vector

Raymond Chen

Creating the vector inline.

May 22, 2024
Post comments count 3
Post likes count 1

If you have to create a Windows Runtime Vector from C++/WinRT, do it as late as possible

Raymond Chen

Stay with the <CODE>std::vector</CODE> until you really need the Window Runtime Vector.

May 21, 2024
Post comments count 6
Post likes count 7

A blurry photo of the legendary USB Cart of Death

Raymond Chen

And some details about that infamous on-stage bluescreen.

May 20, 2024
Post comments count 5
Post likes count 1

If you know what interface you want, just pass it directly to CoCreateInstance

Raymond Chen

Avoiding a second round trip.