[vtkusers] vtkDICOMImageReader error
Jeff Baumes
jeff.baumes at kitware.com
Mon May 4 09:58:59 EDT 2009
This "feels" 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't pulling in
some alternate libraries.
Jeff
2009/5/4 iskicy <iskicy at gmail.com>
> Hello,
>
> I am trying to read the data from a file with DICOM format. The code I have
> written is below:
>
>
> vtkDICOMImageReader* dcm = vtkDICOMImageReader::New();
> dcm->SetDirectoryName("C:/1");
> dcm->SetDataByteOrderToLittleEndian();
> dcm->Update();
>
>
> 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:
>
> 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.
>
> I hope someone can help me to solve this problem.
> Thanks in advance.
>
>
> 2009-05-04
> ------------------------------
> skicy
> ---------------------------
> CS @ SJTU
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090504/5beaa751/attachment.htm>
More information about the vtkusers
mailing list