<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Sorry just checked....<br><br>both my software and VTK has been compiled under Visual Studio 2005. <br>The weird thing is that I just transferred the source code from one pc to another...and this problem comes out in the second PC which has visual studio 2005, while the first one is 2009.<br>But the second one got VTK compiled properly with 2005.<br><br>GC.<br><br>> Date: Fri, 12 Jun 2009 11:51:09 -0400<br>> From: francois.bertel@kitware.com<br>> To: vtkusers@vtk.org<br>> Subject: Re: [vtkusers] vtkImageReader->Update causes Runtime error....why?<br>> <br>> What about VTK?<br>> <br>> >Giancarlo Amati wrote:<br>> > Hi, my file is compiled with Visual Studio 2008. So Microsoft.<br>> <br>> On Fri, Jun 12, 2009 at 11:31 AM, Francois<br>> Bertel<francois.bertel@kitware.com> wrote:<br>> > Do you have VTK compiled with Visual Studio and your example compiled<br>> > with Borland (or the other way around)?<br>> ><br>> ><br>> ><br>> > On Fri, Jun 12, 2009 at 11:29 AM, David Doria<daviddoria@gmail.com> wrote:<br>> >> On Fri, Jun 12, 2009 at 11:23 AM, Giancarlo Amati<br>> >> <ilferraresebono@hotmail.it> wrote:<br>> >>><br>> >>> Hello everybody,<br>> >>><br>> >>> this is my code, simple and easy:<br>> >>><br>> >>> vtkImageReader *img = vtkImageReader::New();<br>> >>> img->SetFileName(fn);<br>> >>> img->Update();<br>> >>><br>> >>> dunno why but it causes this RunTime Error: "The value of ESP was not<br>> >>> properly saved across a function call. This is usually a result of calling a<br>> >>> function pointer declared with a different calling convention".<br>> >>><br>> >>> Anybody has any idea about it?<br>> >>><br>> >>> Kind Regards.<br>> >>> GC.<br>> >>><br>> >><br>> >> Can you upload the vti file in question somewhere? Then at least I can<br>> >> confirm the behavior.<br>> >><br>> >> Thanks,<br>> >><br>> >> David<br>> >><br>> >> _______________________________________________<br>> >> Powered by www.kitware.com<br>> >><br>> >> Visit other Kitware open-source projects at<br>> >> http://www.kitware.com/opensource/opensource.html<br>> >><br>> >> Please keep messages on-topic and check the VTK FAQ at:<br>> >> http://www.vtk.org/Wiki/VTK_FAQ<br>> >><br>> >> Follow this link to subscribe/unsubscribe:<br>> >> http://www.vtk.org/mailman/listinfo/vtkusers<br>> >><br>> >><br>> ><br>> ><br>> ><br>> > --<br>> > François Bertel, PhD | Kitware Inc. Suite 204<br>> > 1 (518) 371 3971 x113 | 28 Corporate Drive<br>> > | Clifton Park NY 12065, USA<br>> ><br>> <br>> <br>> <br>> -- <br>> François Bertel, PhD | Kitware Inc. Suite 204<br>> 1 (518) 371 3971 x113 | 28 Corporate Drive<br>> | Clifton Park NY 12065, USA<br>> _______________________________________________<br>> Powered by www.kitware.com<br>> <br>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>> <br>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>> <br>> Follow this link to subscribe/unsubscribe:<br>> http://www.vtk.org/mailman/listinfo/vtkusers<br><br /><hr />Preparati alla sfida all'ultima combinazione, <a href='http://livesearch.games.msn.com/crosswire/default_it/' target='_new'>gioca con Crosswire!</a></body>
</html>