# Memory leaks istanziating itkImageFileReader in MFC

**URL:** https://discourse.itk.org/t/memory-leaks-istanziating-itkimagefilereader-in-mfc/2388
**Category:** Uncategorized
**Created:** [November 6, 2019, 4:48pm UTC](https://discourse.itk.org/t/memory-leaks-istanziating-itkimagefilereader-in-mfc/2388 "2019-11-06T16:48:12Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [November 7, 2019, 1:27pm UTC](https://discourse.itk.org/t/memory-leaks-istanziating-itkimagefilereader-in-mfc/2388/4 "2019-11-07T13:27:19Z")

</div>

Did you use CMake to generate the Visual Studio solution? Why do you have `#include "stdafx.h"`?

---

_[View the full topic](https://discourse.itk.org/t/memory-leaks-istanziating-itkimagefilereader-in-mfc/2388)._
