Click here to Skip to main content
12,078,298 members (44,790 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++ MFC
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.
Posted 30-Oct-12 2:48am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Sorry I can't exactly answer your question, but here is what we did:
We had mixed results over the years with MFC applications and Rational Purify.
Now we use Memory Validator - no problems.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160212.1 | Last Updated 20 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100