Hi,<br><br>I have tried to build a few examples with VC++ using Cmake to make the project.<br>I have made it with 2 different Runtime Library for ITK.<br><br>The first one was with MDd and everything was working. (meaning even when running the executable obtained)
<br><br>However, I have to build it in MTd in order to use other libraries that can only made in MTd mode. <br>I tried to build helloworld.exe and it works.<br>I have tried to build a few other ones such as DicomImageReadWrite.
<br>It&#39;s built well but the problem comes when I run the executable. An error appears :<br><br>&quot;Debug Assertion Failed!<br><br>Program: E:\tmp\DicomIm\bin\debug\Dicom.exe<br>File: dbgheap.c<br>Line: 1252<br><br>Expression: _CrtIsValidHeapPointer(pUserData)
<br>&quot;<br><br>Could someone help me on that problem please ?<br><br>Many thanks,<br><br>Frédéric<br>