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