Click here to Skip to main content
Rate this: bad
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.
Is there any other settings we need to change in Project Settings or in Rational Purify? or am I missing something?
Posted 30-Oct-12 1:48am

1 solution

Rate this: bad
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.

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 883
1 OriginalGriff 410
2 CPallini 275
3 George Jonsson 166
4 ChauhanAjay 150
0 OriginalGriff 5,450
1 CPallini 4,500
2 Sergey Alexandrovich Kryukov 4,482
3 George Jonsson 3,057
4 Gihan Liyanage 2,445

Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 20 Dec 2012
Copyright © CodeProject, 1999-2014
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