MFC项目管控的主线程是UI线程,有的操作比较费时,我们可以通过工作线程去解决,并提供界面一个等待对话框,告知用户此刻程序没有卡
资源文件列表:

MultiThread3/
MultiThread3/.vs/
MultiThread3/.vs/MultiThread3/
MultiThread3/.vs/MultiThread3/FileContentIndex/
MultiThread3/.vs/MultiThread3/FileContentIndex/d1cf97f1-074f-4561-82c3-04e70cfa700f.vsidx 39.87KB
MultiThread3/.vs/MultiThread3/v17/
MultiThread3/.vs/MultiThread3/v17/.suo 47KB
MultiThread3/.vs/MultiThread3/v17/DocumentLayout.backup.json 7.7KB
MultiThread3/.vs/MultiThread3/v17/DocumentLayout.json 1.59KB
MultiThread3/.vs/MultiThread3/v17/Preview/
MultiThread3/.vs/MultiThread3/v17/Preview/Browse.VC.db 49.83MB
MultiThread3/.vs/MultiThread3/v17/Preview/ipch/
MultiThread3/.vs/MultiThread3/v17/Preview/ipch/80b23d932e896a2d.ipch 89.31MB
MultiThread3/.vs/MultiThread3/v17/Preview/Solution.VC.db 428KB
MultiThread3/_UpgradeReport_Files/
MultiThread3/_UpgradeReport_Files/UpgradeReport.css 3.27KB
MultiThread3/_UpgradeReport_Files/UpgradeReport.xslt 12.21KB
MultiThread3/_UpgradeReport_Files/UpgradeReport_Minus.gif 69B
MultiThread3/_UpgradeReport_Files/UpgradeReport_Plus.gif 71B
MultiThread3/Debug/
MultiThread3/Debug/cl.command.1.tlog 2.85KB
MultiThread3/Debug/CL.read.1.tlog 35.17KB
MultiThread3/Debug/CL.write.1.tlog 1.71KB
MultiThread3/Debug/link-cvtres.read.1.tlog 2B
MultiThread3/Debug/link-cvtres.write.1.tlog 2B
MultiThread3/Debug/link.command.1.tlog 1.87KB
MultiThread3/Debug/link.read.1.tlog 5.25KB
MultiThread3/Debug/link.write.1.tlog 1.23KB
MultiThread3/Debug/mt.command.1.tlog 768B
MultiThread3/Debug/mt.read.1.tlog 680B
MultiThread3/Debug/mt.write.1.tlog 498B
MultiThread3/Debug/MultiThread3.exe 95KB
MultiThread3/Debug/MultiThread3.exe.embed.manifest 667B
MultiThread3/Debug/MultiThread3.exe.embed.manifest.res 732B
MultiThread3/Debug/MultiThread3.exe.intermediate.manifest 381B
MultiThread3/Debug/MultiThread3.ilk 988.56KB
MultiThread3/Debug/MultiThread3.lastbuildstate 65B
MultiThread3/Debug/MultiThread3.log 231B
MultiThread3/Debug/MultiThread3.obj 25.66KB
MultiThread3/Debug/MultiThread3.pch 21.69MB
MultiThread3/Debug/MultiThread3.pdb 4.27MB
MultiThread3/Debug/MultiThread3.res 22.66KB
MultiThread3/Debug/MultiThread3.write.1.tlog
MultiThread3/Debug/MultiThread3_manifest.rc 214B
MultiThread3/Debug/MultiThread3Dlg.obj 28.89KB
MultiThread3/Debug/rc.command.1.tlog 1.09KB
MultiThread3/Debug/rc.read.1.tlog 3.27KB
MultiThread3/Debug/rc.write.1.tlog 526B
MultiThread3/Debug/stdafx.obj 618.58KB
MultiThread3/Debug/vc100.idb 1.11MB
MultiThread3/Debug/vc100.pdb 2.54MB
MultiThread3/Debug/WaitDlg.obj 24.92KB
MultiThread3/MultiThread3.aps 56.83KB
MultiThread3/MultiThread3.cpp 1.68KB
MultiThread3/MultiThread3.h 477B
MultiThread3/MultiThread3.rc 4.85KB
MultiThread3/MultiThread3.sln 890B
MultiThread3/MultiThread3.sln.old 889B
MultiThread3/MultiThread3.suo 15KB
MultiThread3/MultiThread3.suo.old 13KB
MultiThread3/MultiThread3.vcproj 5.54KB
MultiThread3/MultiThread3.vcproj.QT-20130104RJOM.Administrator.user 1.39KB
MultiThread3/MultiThread3.vcxproj 7.81KB
MultiThread3/MultiThread3.vcxproj.filters 2.18KB
MultiThread3/MultiThread3.vcxproj.user 143B
MultiThread3/MultiThread3Dlg.cpp 2.48KB
MultiThread3/MultiThread3Dlg.h 730B
MultiThread3/ReadMe.txt 2.79KB
MultiThread3/res/
MultiThread3/res/MultiThread3.ico 21.12KB
MultiThread3/res/MultiThread3.rc2 368B
MultiThread3/Resource.h 728B
MultiThread3/stdafx.cpp 143B
MultiThread3/stdafx.h 1.75KB
MultiThread3/targetver.h 1.01KB
MultiThread3/UpgradeLog.XML 1.74KB
MultiThread3/WaitDlg.cpp 1.01KB
MultiThread3/WaitDlg.h 550B
TestWaitDlg/
TestWaitDlg/.vs/
TestWaitDlg/.vs/TestWaitDlg/
TestWaitDlg/.vs/TestWaitDlg/FileContentIndex/
TestWaitDlg/.vs/TestWaitDlg/FileContentIndex/847fe8f3-9881-4242-9116-abf29cb4be59.vsidx 69.46KB
TestWaitDlg/.vs/TestWaitDlg/v17/
TestWaitDlg/.vs/TestWaitDlg/v17/.suo 11KB
TestWaitDlg/.vs/TestWaitDlg/v17/Preview/
TestWaitDlg/.vs/TestWaitDlg/v17/Preview/Browse.VC.db 50.05MB
TestWaitDlg/.vs/TestWaitDlg/v17/Preview/ipch/
TestWaitDlg/.vs/TestWaitDlg/v17/Preview/ipch/6cb369393d2bec5f.ipch 90.31MB
TestWaitDlg/.vs/TestWaitDlg/v17/Preview/Solution.VC.db 428KB
TestWaitDlg/Debug/
TestWaitDlg/Debug/cl.command.1.tlog 4.67KB
TestWaitDlg/Debug/CL.read.1.tlog 37.68KB
TestWaitDlg/Debug/CL.write.1.tlog 2.74KB
TestWaitDlg/Debug/link-cvtres.read.1.tlog 2B
TestWaitDlg/Debug/link-cvtres.write.1.tlog 2B
TestWaitDlg/Debug/link.command.1.tlog 2.06KB
TestWaitDlg/Debug/link.read.1.tlog 5.52KB
TestWaitDlg/Debug/link.write.1.tlog 1.42KB
TestWaitDlg/Debug/MainFrm.obj 31.75KB
TestWaitDlg/Debug/mt.command.1.tlog 768B
TestWaitDlg/Debug/mt.read.1.tlog 672B
TestWaitDlg/Debug/mt.write.1.tlog 490B
TestWaitDlg/Debug/rc.command.1.tlog 1.14KB
TestWaitDlg/Debug/rc.read.1.tlog 3.54KB
TestWaitDlg/Debug/rc.write.1.tlog 510B
TestWaitDlg/Debug/RunWaitWnd.obj 34.94KB
TestWaitDlg/Debug/StdAfx.obj 632.31KB
TestWaitDlg/Debug/TestWaitDlg.Build.CppClean.log 784B
TestWaitDlg/Debug/TestWaitDlg.exe 127KB
TestWaitDlg/Debug/TestWaitDlg.exe.embed.manifest 667B
TestWaitDlg/Debug/TestWaitDlg.exe.embed.manifest.res 732B
TestWaitDlg/Debug/TestWaitDlg.exe.intermediate.manifest 381B
TestWaitDlg/Debug/TestWaitDlg.ilk 1.55MB
TestWaitDlg/Debug/TestWaitDlg.lastbuildstate 64B
TestWaitDlg/Debug/TestWaitDlg.log 429B
TestWaitDlg/Debug/TestWaitDlg.obj 40.89KB
TestWaitDlg/Debug/TestWaitDlg.pch 21.94MB
TestWaitDlg/Debug/TestWaitDlg.pdb 4.53MB
TestWaitDlg/Debug/TestWaitDlg.res 7.2KB
TestWaitDlg/Debug/TestWaitDlg.write.1.tlog
TestWaitDlg/Debug/TestWaitDlg_manifest.rc 218B
TestWaitDlg/Debug/TestWaitDlgDoc.obj 50.48KB
TestWaitDlg/Debug/TestWaitDlgView.obj 27.15KB
TestWaitDlg/Debug/vc100.idb 1.14MB
TestWaitDlg/Debug/vc100.pdb 2.57MB
TestWaitDlg/MainFrm.cpp 2.4KB
TestWaitDlg/MainFrm.h 1.44KB
TestWaitDlg/ReadMe.txt 4.33KB
TestWaitDlg/res/
TestWaitDlg/res/TestWaitDlg.ico 1.05KB
TestWaitDlg/res/TestWaitDlg.rc2 403B
TestWaitDlg/res/TestWaitDlgDoc.ico 1.05KB
TestWaitDlg/res/Toolbar.bmp 1.05KB
TestWaitDlg/Resource.h 499B
TestWaitDlg/RunWaitWnd.cpp 5.39KB
TestWaitDlg/RunWaitWnd.h 1.6KB
TestWaitDlg/StdAfx.cpp 213B
TestWaitDlg/StdAfx.h 1.03KB
TestWaitDlg/TestWaitDlg.cpp 4.65KB
TestWaitDlg/TestWaitDlg.dsp 4.68KB
TestWaitDlg/TestWaitDlg.dsw 547B
TestWaitDlg/TestWaitDlg.h 1.46KB
TestWaitDlg/TestWaitDlg.rc 10.37KB
TestWaitDlg/TestWaitDlg.vcxproj 8.04KB
TestWaitDlg/TestWaitDlg.vcxproj.filters 2.67KB
TestWaitDlg/TestWaitDlg.vcxproj.user 143B
TestWaitDlg/TestWaitDlgDoc.cpp 1.8KB
TestWaitDlg/TestWaitDlgDoc.h 1.49KB
TestWaitDlg/TestWaitDlgView.cpp 2.76KB
TestWaitDlg/TestWaitDlgView.h 1.96KB