<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.5583" name=GENERATOR><LINK 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}" 
rel=stylesheet></HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana size=2>Hello,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV style="TEXT-INDENT: 2em"><FONT face=Verdana size=2>I am trying to&nbsp;read 
the data from a file with DICOM&nbsp;format. The code I have written is 
below:</FONT></DIV>
<DIV style="TEXT-INDENT: 2em">&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
    <DIV><SPAN class=t_tag onclick=tagshow(event) 
    href="tag.php?name=vtk">vtk</SPAN>DICOMImageReader* dcm = 
    vtkDICOMImageReader::New();<BR>dcm-&gt;SetDirectoryName("C:/1");<BR>dcm-&gt;SetDataByteOrderToLittleEndian();<BR>dcm-&gt;Update();</DIV>
    <DIV>&nbsp;</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&nbsp;happens with blow information:</DIV>
<DIV dir=ltr style="TEXT-INDENT: 2em">&nbsp;</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.&nbsp;&nbsp;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">&nbsp;</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">&nbsp;</DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</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></BODY></HTML>