[vtkusers] vtkImageReader->Update causes Runtime error....why?

Francois Bertel francois.bertel at kitware.com
Fri Jun 12 11:51:09 EDT 2009


What about VTK?

>Giancarlo Amati wrote:
> Hi, my file is compiled with Visual Studio 2008. So Microsoft.

On Fri, Jun 12, 2009 at 11:31 AM, Francois
Bertel<francois.bertel at kitware.com> wrote:
> Do you have VTK compiled with Visual Studio and your example compiled
> with Borland (or the other way around)?
>
>
>
> On Fri, Jun 12, 2009 at 11:29 AM, David Doria<daviddoria at gmail.com> wrote:
>> On Fri, Jun 12, 2009 at 11:23 AM, Giancarlo Amati
>> <ilferraresebono at hotmail.it> wrote:
>>>
>>> Hello everybody,
>>>
>>> this is my code, simple and easy:
>>>
>>> vtkImageReader *img = vtkImageReader::New();
>>> img->SetFileName(fn);
>>> img->Update();
>>>
>>> dunno why but it causes this RunTime Error: "The value of ESP was not
>>> properly saved across a function call. This is usually a result of calling a
>>> function pointer declared with a different calling convention".
>>>
>>> Anybody has any idea about it?
>>>
>>> Kind Regards.
>>> GC.
>>>
>>
>> Can you upload the vti file in question somewhere? Then at least I can
>> confirm the behavior.
>>
>> Thanks,
>>
>> David
>>
>> _______________________________________________
>> 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
>>
>>
>
>
>
> --
> François Bertel, PhD  | Kitware Inc. Suite 204
> 1 (518) 371 3971 x113 | 28 Corporate Drive
>                      | Clifton Park NY 12065, USA
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list