cppwinrt

Tag

Cards List
#cppwinrt

Creating a fake agile wrapper that is technically agile but is not useful outside its home apartment, part 4

The Old New Thing (Raymond Chen) ↗ · 2026-08-06 Cached

Raymond Chen continues his series on creating a fake agile wrapper in COM, explaining how to move non-marshalable objects by forwarding references into the force_marshal wrapper and discussing C++/WinRT deduction guides.

0 favorites 0 likes
#cppwinrt

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 9

The Old New Thing (Raymond Chen) ↗ · 2026-07-30 Cached

Raymond Chen continues his series on building an agile Windows Runtime delegate in C++/WinRT, comparing how C++/WinRT, C++/CX, and WRL handle non-marshalable delegates and agile reference creation.

0 favorites 0 likes
#cppwinrt

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 3

The Old New Thing (Raymond Chen) ↗ · 2026-07-22 Cached

This blog post discusses handling Windows Runtime delegates that implement the INoMarshal interface in C++/WinRT, providing an agile delegate wrapper that checks the calling context to avoid marshaling errors.

0 favorites 0 likes
#cppwinrt

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 1

The Old New Thing (Raymond Chen) ↗ · 2026-07-20 Cached

This article explains how to create an agile version of a Windows Runtime delegate in C++/WinRT by wrapping the delegate in an agile_ref, with a promise of more details in part 2.

0 favorites 0 likes
#cppwinrt

Cancellation of Windows Runtime activities is asynchronous

The Old New Thing (Raymond Chen) ↗ · 2026-06-24 Cached

This article explains why cancellation of Windows Runtime asynchronous activities is asynchronous, using code examples to illustrate how it avoids deadlocks, especially when progress callbacks trigger cancellation.

0 favorites 0 likes
#cppwinrt

If C# and JavaScript lets me await a Windows Runtime asynchronous operation more than once, why not C++/WinRT?

The Old New Thing (Raymond Chen) ↗ · 2026-05-26 Cached

Raymond Chen explains why C++/WinRT does not allow multiple awaits on asynchronous operations like C#, JavaScript, and Python do, citing the lack of a standard library task type and the principle of not paying for unused functionality.

0 favorites 0 likes
← Back to home

Submit Feedback