<div>Hi:</div>
<div> </div>
<div>I install the ITK and also the MITK which use ITK and VTK.</div>
<div> </div>
<div>I test the very simple example. But there is error like this :Unhandled exception at 0x7582b727 in test1.exe: Microsoft C++ exception: itk::ExceptionObject at memory location 0x002bfc18..</div>
<div><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p><font style="BACKGROUND-COLOR: #ffffff" color="#000000">And the error link to itkLightObject.cxx</font> :   <font color="#020002" size="2"><font color="#020002" size="2"></font></font></p>
<p><font color="#ff0000">InterlockedIncrement</font></p></font></font><font color="#ff0000"><font size="2">(&amp;</font><font size="2"><font size="2">m_ReferenceCount</font></font><font size="2">);</font></font>
<p><font color="#ff0000"><font size="2"><font color="#000000">which is in :</font></font></font></p><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>void</p></font></font><font size="2"><font color="#000000">  </font></font>
<p><font color="#020002" size="2"><font color="#020002" size="2">LightObject</font></font></p><font size="2">
<p>::</p></font><font color="#020002" size="2"><font color="#020002" size="2">Register</font></font><font size="2">() </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">const</font></font><font size="2">
<p>{</p>
<p></p></font><font color="#008000" size="2"><font color="#008000" size="2">// Windows optimization</font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>#if</p></font></font><font color="#000000" size="2"> (</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">defined</font></font><font color="#000000" size="2">(</font><font color="#020002" size="2"><font color="#020002" size="2">WIN32</font></font><font color="#000000" size="2">) || </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">defined</font></font><font color="#000000" size="2">(</font><font color="#020002" size="2"><font color="#020002" size="2">_WIN32</font></font><font size="2"><font color="#000000">))</font></font>
<p><font color="#020002" size="2"><font color="#020002" size="2">InterlockedIncrement</font></font><font size="2">(&amp;</font><font color="#020002" size="2"><font color="#020002" size="2">m_ReferenceCount</font></font><font size="2">);</font></p>

<p><font size="2">....</font></p>
<p><font size="2">}</font></p>
<p><font size="2"></font> </p>
<p><font color="#000000" size="2">Could anyone help me figure out the problem? </font></p>
<p><font size="2"><font color="#000000">My computer is 64-bit, but I install ITK and VTK with 32-bit in CMake. Is this the problem?</font></font></p>
<p><font size="2"><font color="#000000">Thanks</font></font></p>
<p><font size="2"><font color="#000000">Erkang Cheng</font></font></p><font size="2"></font></div>