每删除比如20个文件插入一次消息循环: i=0; while (1) { deletefile(i); i++; if (i%20==0) { MSG msg; if (GetMessage(&msg,NULL,0,0)) { TranslateMessage(&msg); DispatchMessage(&msg); } } }
i=0; while (1) { deletefile(i); i++; if (i%20==0) { MSG msg; if (GetMessage(&msg,NULL,0,0)) { TranslateMessage(&msg); DispatchMessage(&msg); } } }
[quote=引用 2 楼 zhao4zhong1 的回复:] 每删除比如20个文件插入一次消息循环: i=0; while (1) { deletefile(i); i++; if (i%20==0) { MSG msg; if (GetMessage(&msg,NULL,0,0)) { TranslateMessage(&msg); DispatchMessage(&msg); } } }
24,860
社区成员
27,333
社区内容
加载中
试试用AI创作助手写篇文章吧