1
當我的應用程序退出時,我在調試器控制檯中看到以下內容。Gdiplusshutdown導致退出代碼1
The thread '_threadstartex' (0xd48) has exited with code 0 (0x0).
The thread '_threadstartex' (0xf80) has exited with code 0 (0x0).
The thread '_threadstartex' (0x190) has exited with code 0 (0x0).
The thread '_threadstartex' (0xaa0) has exited with code 0 (0x0).
The thread '_threadstartex' (0x67c) has exited with code 0 (0x0).
The thread '_threadstartex' (0x6f0) has exited with code 0 (0x0).
The thread '_threadstartex' (0x9e4) has exited with code 0 (0x0).
The thread '_threadstartex' (0xf04) has exited with code 0 (0x0).
The thread 'Win64 Thread' (0xbcc) has exited with code 0 (0x0).
The thread 'Win64 Thread' (0xe08) has exited with code 1 (0x1).
The thread 'Win64 Thread' (0x9a4) has exited with code 0 (0x0).
The thread 'Win64 Thread' (0x3a0) has exited with code 0 (0x0).
'BFX_App.exe': Unloaded 'C:\Windows\System32\msxml6.dll'
'BFX_App.exe': Unloaded 'C:\Windows\System32\WindowsCodecsExt.dll'
The program '[2148] BFX_App.exe: Native' has exited with code 0 (0x0).
我跟蹤的線程退出碼1退出到調用Gdiplus::GdiplusShutdown(gdiplusToken);
在我的應用程序的析構函數。我不確定爲什麼這個調用會導致一個退出代碼爲1的線程。如果有人能幫我找到導致這個錯誤的原因,我將不勝感激。
謝謝, Abhinay。
謝謝selbie。我在某處讀過它不應該影響程序執行,但是想確保我不會錯過任何東西。 :-) – 2010-10-29 13:39:29