This &quot;feels&quot; like an inconsistency in your headers, build libraries, or runtime libraries. When I get that error I try building again from scratch and checking my PATH environment variable to make sure it isn&#39;t pulling in some alternate libraries.<div>
<br></div><div>Jeff<br><br><div class="gmail_quote">2009/5/4 iskicy <span dir="ltr">&lt;<a href="mailto:iskicy@gmail.com">iskicy@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div style="font-size:10pt;margin:10px;font-family:verdana">
<div><font face="Verdana" size="2">Hello,</font></div>
<div> </div>
<div style="text-indent:2em"><font face="Verdana" size="2">I am trying to read 
the data from a file with DICOM format. The code I have written is 
below:</font></div>
<div style="text-indent:2em"> </div>
<blockquote dir="ltr" style="margin-right:0px">
  <blockquote dir="ltr" style="margin-right:0px">
    <div><span href="http://tag.php?name=vtk">vtk</span>DICOMImageReader* dcm = 
    vtkDICOMImageReader::New();<br>dcm-&gt;SetDirectoryName(&quot;C:/1&quot;);<br>dcm-&gt;SetDataByteOrderToLittleEndian();<br>dcm-&gt;Update();</div>
    <div> </div></blockquote></blockquote>
<div dir="ltr" style="text-indent:2em">It runs successfully on other machines 
with VS 2005 and VS 6.0. But when I try to run it in my computer( VS 2005 ), 
some error happens with blow information:</div>
<div dir="ltr" style="text-indent:2em"> </div>
<div dir="ltr" style="text-indent:2em">Run-Time Check Failure #0 - The value of 
ESP was not properly saved across a function call.  This is usually a 
result of calling a function declared with one calling convention with a 
function pointer declared with a different calling convention.<br></div>
<div dir="ltr" style="text-indent:2em"> </div>
<div dir="ltr" style="text-indent:2em">I hope someone can help me to solve this 
problem. </div>
<div dir="ltr" style="text-indent:2em">Thanks in advance.</div>
<div dir="ltr" style="text-indent:2em"> </div>
<div><font face="Verdana" size="2"></font> </div>
<div align="left"><font face="Verdana" color="#c0c0c0" size="2">2009-05-04 
</font></div><font face="Verdana" size="2">
<hr style="width:122px;height:2px" align="left" size="2">

<div><font face="Verdana" color="#c0c0c0" size="2"><span>
<div>
<div><font face="Verdana" size="2"></font><font color="#969696">skicy</font></div>
<div><font color="#969696">---------------------------</font></div>
<div><font color="#969696">CS @ 
SJTU</font></div></div></span></font></div></font></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>
</div>