2020年4月23日

C++ 0xC0000094: Integer division by zero

摘要: C++ 0xC0000094: Integer division by zero 阅读全文

posted @ 2020-04-23 14:04 liujx2019 阅读(1475) 评论(0) 推荐(0) 编辑

Windows API 中 OVERLAPPED 结构体 初始化

摘要: 出处:https://github.com/microsoft/Windows-classic-samples/blob/1d363ff4bd17d8e20415b92e2ee989d615cc0d91/Samples/Hyper-V/Storage/cpp/MirrorVirtualDisk.cp 阅读全文

posted @ 2020-04-23 11:08 liujx2019 阅读(525) 评论(0) 推荐(0) 编辑

QString 转换成 wchar 的一个小陷阱

摘要: QString::toWCharArray(wchar_t * array) 其中 wchar_t * array 除了要分配内存之外,必须用 wmemset 初始化。 环境是 Visual Studio 2015. QT官方文档确实注明了:Note: This function does not 阅读全文

posted @ 2020-04-23 10:19 liujx2019 阅读(1210) 评论(0) 推荐(0) 编辑

导航