cppwinrt

标签

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 缓存

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 人收藏 0 人点赞
#cppwinrt

在 C++/WinRT 中创建 Windows Runtime 委托的敏捷版本,第 9 部分

The Old New Thing (Raymond Chen) · 2026-07-30 缓存

Raymond Chen 继续他的系列文章,讨论在 C++/WinRT 中创建敏捷版 Windows Runtime 委托,并比较 C++/WinRT、C++/CX 和 WRL 如何处理不可封送委托和敏捷引用创建。

0 人收藏 0 人点赞
#cppwinrt

在C++/WinRT中创建Windows运行时代理的敏捷版本,第3部分

The Old New Thing (Raymond Chen) · 2026-07-22 缓存

这篇博客文章讨论了在C++/WinRT中处理实现INoMarshal接口的Windows运行时代理,提供了一个敏捷的代理包装器,通过检查调用上下文来避免封送错误。

0 人收藏 0 人点赞
#cppwinrt

在 C++/WinRT 中创建 Windows Runtime 委托的敏捷版本,第一部分

The Old New Thing (Raymond Chen) · 2026-07-20 缓存

本文介绍如何通过将委托包装在 agile_ref 中来在 C++/WinRT 中创建 Windows Runtime 委托的敏捷版本,并承诺在第二部分中提供更多细节。

0 人收藏 0 人点赞
#cppwinrt

Windows Runtime 活动的取消是异步的

The Old New Thing (Raymond Chen) · 2026-06-24 缓存

本文通过代码示例解释了为什么 Windows Runtime 异步活动的取消是异步的,以及它如何避免死锁,尤其是在进度回调触发取消时。

0 人收藏 0 人点赞
#cppwinrt

如果C#和JavaScript允许我多次等待Windows Runtime异步操作,为什么C++/WinRT不行?

The Old New Thing (Raymond Chen) · 2026-05-26 缓存

Raymond Chen解释了为什么C++/WinRT不像C#、JavaScript和Python那样允许多次等待异步操作,其原因是没有标准库的task类型,以及不为你未使用的功能付费的原则。

0 人收藏 0 人点赞
← 返回首页

提交意见反馈