问题描述
我试图在MFC应用程序中找到可能的内存泄漏。我尝试过Rational Purify。我能够使用RATIONAL PURIFY启动控制台应用程序。但是当我使用Rational purify启动任何基于MFC的应用程序时,应用程序崩溃了。我想,崩溃是由于,Rational purify无法检测代码。
我使用基于MFC VC6对话框的应用程序进行测试,其中崩溃发生了。如果我们在没有Ration Purify的情况下启动,应用程序将启动。
我尝试了默认设置和以下链接中的设置。 http://www.ibm.com/developerworks/rational/library/07/0313_cherkasov/#
我们需要在项目设置中更改其他设置或在Rational Purify中?或者我错过了什么?
谢谢。
I am trying to find possible memory leaks in a MFC application. I tried Rational Purify. I was able to launch a console application using RATIONAL PURIFY. But when I launch any MFC based application using Rational purify, the application crashes. I suppose, the crash is due to, Rational purify can''t able to instrument the code.
I am using MFC VC6 dialog based application for testing purpose, where the crash occurs. If we launch without Ration Purify, application launches.
I tried the default settings and the settings in the below link. http://www.ibm.com/developerworks/rational/library/07/0313_cherkasov/#
Is there any other settings we need to change in Project Settings or in Rational Purify? or am I missing something?
Thanks.
这篇关于MFC应用程序上的Rational Purity(内存泄漏检测器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!