<DIV>I can open some dicoms files but Know the problem is when i try open diferent dicom file, the compiler showme the next message when i call function reader->Update()</DIV>
<DIV> </DIV>
<DIV>Unhandled exception at 0x7814724d in LecturaDicom.exe: 0xC0000005: Access violation reading location 0x018af3f0.</DIV>
<DIV> </DIV>
<DIV>this my code </DIV>
<DIV> </DIV>
<DIV><FONT size=2>
<P>vtkDICOMImageReader *reader = vtkDICOMImageReader::New();</P></FONT></DIV>
<DIV><FONT size=2>
<P>reader->SetFileName(</FONT><FONT color=#800000 size=2>"C:/IMG/shoulder.dcm"</FONT><FONT size=2>);</P>
<P>reader->Update();</P>
<P>vtkImageData* ima = reader->GetOutput();</P>
<P></P>
<P></P>
<P></FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2>* Size = ima->GetDimensions();</P></FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV align=center><STRONG><FONT face=Tahoma color=#3300cc size=2>Ing. Manuel ochoa Alfaro</FONT></STRONG></DIV>