void.dev/tags/#WinAPI
~/blog ~/explore ~/about ~/lab
#

WinAPI

1 篇文章
相关:#cpp 1#windows 1

▸ Windows PostMessage 跨线程传递 std::vector 指针

2023/05/26

通过 PostMessage 在 Windows 消息队列中传递 std::vector 指针,使用 reinterpret_cast 将指针装入 LPARAM,并在接收方正确释放内存。

#cpp#windows#WinAPI
→
~/home~/blog~/explore~/about
← 返回标签
CC BY-NC 4.0 © 2026 Voidnuxt4 · cf-pages · d1