问题:退出代码0(0x0) [英] Problem : has exited with code 0 (0x0)

查看:231
本文介绍了问题:退出代码0(0x0)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





任何人都可以解决这个问题吗?当我在visual studio 6.0中的基于对话框的应用程序上绘制一个控件(富文本框),然后它成功编译,但是当我运行它时它会因为内存泄漏问题而自动终止。



任何人都可以建议我或解决我的问题,我怎么能解决这个问题呢?

错误代码如下:

已加载'ntdll.dll',未找到匹配的符号信息。 
已加载'C:\ WINDOWS \system32 \ kernel32.dll',未找到匹配的符号信息。
'C:\ WINDOWS \system32 \ MFC42D.DLL'的加载符号
'C:\ WINDOWS \ system32 \ MSVCRTD.DLL'的加载符号
已加载' C:\ WINDOWS \ system32 \ gdi32.dll',找不到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \ user32.dll',未找到匹配的符号信息。
'C:\ WINDOWS \system32 \MFCO42D.DLL'的加载符号
已加载'C:\ WINDOWS \system32 \imm32.dll',未找到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \ advapi32.dll',未找到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \rpcrt4.dll',未找到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \ secur32.dll',未找到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \ comctl32.dll',未找到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \ uxtheme.dll',未找到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \ msvcrt.dll',未找到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \ MSCTF.dll',未找到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \ version.dll',未找到匹配的符号信息。
已加载'C:\ WINDOWS \ system32 \ MSCTFIME.IME',未找到匹配的符号信息。
已加载'C:\ WINDOWS \system32 \ole32.dll',未找到匹配的符号信息。
线程0xB8C已退出,代码为0(0x0)。
程序'D:\\\\Debug\test.exe'已退出,代码为0(0x0)。



---此错误只有当我在基于对话框的应用程序上绘制富文本框时才会出现。





感谢谢谢高级

Ravi

解决方案

在代码周围放一个 try / catch 块并在调试器下运行它。在没有能够看到你的代码的情况下,我们几乎无法做到这一点,此外,你真的应该在调试器下运行它,然后再要求我们确定你的问题。


请将下面的方法放入你的initinstace

AfxInitRichEdit();

AfxOleInit();



问候,

Saavi


 cheack如果InitializeComponent()方法以退出app的形式存在可能是问题
;


Hi,

Can any one solve this problem? While I draw a control (Rich text box) on my dialog based application in visual studio 6.0 , then it compile successfully, but at the time while I run it it gets terminated automatically because of its memory leak problem.

Can any one suggest me or solved my problem that how can I solved my this problem?
the error code is as follows:

Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
Loaded symbols for 'C:\WINDOWS\system32\MFC42D.DLL'
Loaded symbols for 'C:\WINDOWS\system32\MSVCRTD.DLL'
Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found.
Loaded symbols for 'C:\WINDOWS\system32\MFCO42D.DLL'
Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\secur32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\MSCTFIME.IME', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found.
The thread 0xB8C has exited with code 0 (0x0).
The program 'D:\test\Debug\test.exe' has exited with code 0 (0x0).


--- this error only comes while i draw rich text box on my dialog based application.


Thankx in advanced
Ravi

解决方案

Put a try/catch block around the code and run it under the debugger. There's little we can do here without being able to see your code, and besides, you really should have run it under the debugger BEFORE asking us to identify your issue.


kindly put following methode in ur initinstace
AfxInitRichEdit();
AfxOleInit();

Regards,
Saavi


cheack if InitializeComponent() Method Exist in the form that exit app may be the problem 
;


这篇关于问题:退出代码0(0x0)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆