windows-development

标签

Cards List
#windows-development

如何从我的窗口标题栏中移除关闭按钮?

The Old New Thing (Raymond Chen) · 2026-09-11 缓存

本文介绍了如何在Windows应用程序窗口中移除或禁用关闭按钮,讨论了不同方法及其对开发者的影响。

0 人收藏 0 人点赞
#windows-development

为什么我们不允许栈是稀疏的,而不是强制它们连续?

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

本文讨论了为什么栈在内存中被设计为连续而不是稀疏的,重点介绍了诸如Stack Clash之类的安全风险以及异常处理中的实现复杂性。

0 人收藏 0 人点赞
#windows-development

像 alloca 这样的函数如何从栈中分配内存?

Hacker News Top · 2026-08-17 缓存

本文解释了 alloca 函数如何通过在调整栈指针之前调用 __chkstk 函数来探测栈,从而在栈上分配内存,并通过 x86-64 汇编代码进行演示。

0 人收藏 0 人点赞
#windows-development

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 人点赞
#windows-development

System.Diagnostics.Process 的假设性重新设计,以避免对仅在你调用 Start 时才有效的属性产生混淆

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

一篇博客文章,提议重新设计 .NET 中的 System.Diagnostics.Process 类,将仅对已启动进程有效的属性分离到一个新类中,旨在减少 API 混淆。

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

提交意见反馈