[ITK] Memory leaks with ITK and MFC

Lee, Kyungmoo kyungmoo-lee at uiowa.edu
Tue Mar 1 17:24:00 EST 2016


Hi Matt,



Thank you for replying. I would like to use ITK in my MFC application. It has another memory-related problem in my application (See the following figure). I guess that there is a conflict between ITK smart pointer and MFC structure. If you fix InsightApplications-4.8.0/ItkMFC, it would be a good reference for my MFC programming. Thank you so much!!!



Kit



[cid:image001.png at 01D173D6.C10A2C40]

-----Original Message-----
From: Matt McCormick [mailto:matt.mccormick at kitware.com]
Sent: Tuesday, March 01, 2016 4:04 PM
To: Lee, Kyungmoo <kyungmoo-lee at uiowa.edu>
Cc: community at itk.org
Subject: Re: [ITK] Memory leaks with ITK and MFC



Hi Kit,



We are in the process of deprecating InsightApplications.



However, if you create an MFC application that uses ITK, there should be no issues or memory leaks.



HTH,

Matt



On Mon, Feb 29, 2016 at 3:32 PM, Lee, Kyungmoo <kyungmoo-lee at uiowa.edu<mailto:kyungmoo-lee at uiowa.edu>> wrote:

> Dear all,

>

>

>

> When I run InsightApplications-4.8.0/ItkMFC using ITK-4.8.2, MS

> Windows, and Visual Studio 2010/2012, I found memory leaks. Other

> persons in the following links have the same problem. I cannot find

> any solution on the web. Please help me. Thank you.

>

>

>

> https://cmake.org/pipermail/insight-users/2007-July/022885.html

>

> http://itk-insight-users.2283740.n2.nabble.com/No-one-knows-the-ITK-MF

> C-memory-leak-problem-td7583950.html

>

>

>

> Kit

>

>

>

>

> _______________________________________________

> Community mailing list

> Community at itk.org<mailto:Community at itk.org>

> http://public.kitware.com/mailman/listinfo/community

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160301/4b60330c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 150441 bytes
Desc: image001.png
URL: <http://public.kitware.com/pipermail/community/attachments/20160301/4b60330c/attachment-0001.png>


More information about the Community mailing list