'UnitTest.exe': Loaded 'C:\zxn\UiApi\Debug\UnitTest.exe', Symbols loaded.
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll'
'UnitTest.exe': Loaded 'C:\zxn\UiApi\Debug\UiApi.dll', Symbols loaded.
'UnitTest.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcp90d.dll', Symbols loaded.
'UnitTest.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcr90d.dll', Symbols loaded.
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\apphelp.dll'
'UnitTest.exe': Loaded 'C:\Windows\AppPatch\AcLayers.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\user32.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\userenv.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\profapi.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\winspool.drv'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\mpr.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll'
'UnitTest.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll'
The program '[8872] UnitTest.exe: Native' has exited with code 0 (0x0).
问题分析
出现这个提示,其实表示当前程序是完全正确的,它显示了程序在加载调试时的调试信息。那个 has exited with code 0(0x0) 返回这个代码0 表示程序是正常的运行和结束的。
如果出现那个黑框一闪而过,解放方案:
不直接点击Debug 或 F5来运行, 而是用Ctrl + F5 来运行