上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 41 下一页

2019年10月17日

Testing for the End of a File (Windows 的异步 IO)

摘要: The ReadFile function checks for the end-of-file condition (EOF) differently for synchronous and asynchronous read operations. When a synchronous read 阅读全文

posted @ 2019-10-17 15:45 liujx2019 阅读(328) 评论(0) 推荐(0)

Synchronization and Overlapped Input and Output

摘要: You can perform either synchronous or asynchronous (also called overlapped) I/O operations on files, named pipes, and serial communications devices. T 阅读全文

posted @ 2019-10-17 15:44 liujx2019 阅读(144) 评论(0) 推荐(0)

DiskPart.exe and managing Virtual Hard Disks (VHDs) in Windows 7

摘要: coreygo October 7, 2009 In Windows 7, new commands have been added in DiskPart to allow for the creation and management of Virtual Hard Disks (.vhd fi 阅读全文

posted @ 2019-10-17 15:43 liujx2019 阅读(302) 评论(0) 推荐(0)

终止过久没有返回的 Windows API 函数 ---- “CancelSynchronousIo”

摘要: Marks pending synchronous I/O operations that are issued by the specified thread as canceled. https://docs.microsoft.com/zh-cn/windows/win32/fileio/ca 阅读全文

posted @ 2019-10-17 14:26 liujx2019 阅读(370) 评论(0) 推荐(0)

Asynchronous Disk I/O Appears as Synchronous on Windows

摘要: Summary Summary File I/O on Microsoft Windows can be synchronous or asynchronous. The default behavior for I/O is synchronous, where an I/O function i 阅读全文

posted @ 2019-10-17 13:31 liujx2019 阅读(191) 评论(0) 推荐(0)

[Windows] 如何通过 mount point 找到对应的 VHD 文件

摘要: 假设有一个 Virtual Disk(VHD) 文件。已经 online --> attach --> mount。 知道 mount 的文件夹,要找到 .vhd 文件。可以用如下方法: 1. 通过文件夹路径找到 Volume DISKPART> list volume Volume ### Ltr 阅读全文

posted @ 2019-10-17 10:09 liujx2019 阅读(319) 评论(0) 推荐(0)

2019年10月15日

QtConcurrent::run() 只能运行参数个数不超过5的函数

摘要: 有时不得不看源码 qtconcurrentrun.h 阅读全文

posted @ 2019-10-15 09:16 liujx2019 阅读(1471) 评论(0) 推荐(0)

QtConcurrent::run 运行类的成员函数

摘要: https://stackoverflow.com/questions/2152355/is-it-possible-to-use-qtconcurrentrun-with-a-function-member-of-a-class?answertab=active#tab-top 阅读全文

posted @ 2019-10-15 09:13 liujx2019 阅读(1256) 评论(0) 推荐(0)

2019年10月11日

Bat 脚本 删除某一行

摘要: findstr /v /i /c:"kiwi" /c:"oranges" myfile.txt >newfile.txt 阅读全文

posted @ 2019-10-11 16:30 liujx2019 阅读(1459) 评论(0) 推荐(0)

2019年9月29日

如何打开 Visual Studio 的 Dump,适用于调试 appcrash,exception

摘要: https://keithbabinec.com/2018/06/12/how-to-capture-and-debug-net-application-crash-dumps-in-windows/ https://docs.microsoft.com/en-us/windows/win32/we 阅读全文

posted @ 2019-09-29 13:48 liujx2019 阅读(576) 评论(0) 推荐(0)

上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 41 下一页

导航