<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>&gt; Date: Fri, 12 Jun 2009 11:51:09 -0400<br>&gt; From: francois.bertel@kitware.com<br>&gt; To: vtkusers@vtk.org<br>&gt; Subject: Re: [vtkusers] vtkImageReader-&gt;Update causes Runtime error....why?<br>&gt; <br>&gt; What about VTK?<br>&gt; <br>&gt; &gt;Giancarlo Amati wrote:<br>&gt; &gt; Hi, my file is compiled with Visual Studio 2008. So Microsoft.<br>&gt; <br>&gt; On Fri, Jun 12, 2009 at 11:31 AM, Francois<br>&gt; Bertel&lt;francois.bertel@kitware.com&gt; wrote:<br>&gt; &gt; Do you have VTK compiled with Visual Studio and your example compiled<br>&gt; &gt; with Borland (or the other way around)?<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On Fri, Jun 12, 2009 at 11:29 AM, David Doria&lt;daviddoria@gmail.com&gt; wrote:<br>&gt; &gt;&gt; On Fri, Jun 12, 2009 at 11:23 AM, Giancarlo Amati<br>&gt; &gt;&gt; &lt;ilferraresebono@hotmail.it&gt; wrote:<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Hello everybody,<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; this is my code, simple and easy:<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; vtkImageReader *img = vtkImageReader::New();<br>&gt; &gt;&gt;&gt; img-&gt;SetFileName(fn);<br>&gt; &gt;&gt;&gt; img-&gt;Update();<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; dunno why but it causes this RunTime Error: "The value of ESP was not<br>&gt; &gt;&gt;&gt; properly saved across a function call. This is usually a result of calling a<br>&gt; &gt;&gt;&gt; function pointer declared with a different calling convention".<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Anybody has any idea about it?<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Kind Regards.<br>&gt; &gt;&gt;&gt; GC.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Can you upload the vti file in question somewhere? Then at least I can<br>&gt; &gt;&gt; confirm the behavior.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Thanks,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; David<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; Powered by www.kitware.com<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Visit other Kitware open-source projects at<br>&gt; &gt;&gt; http://www.kitware.com/opensource/opensource.html<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>&gt; &gt;&gt; http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt;&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; François Bertel, PhD &nbsp;| Kitware Inc. Suite 204<br>&gt; &gt; 1 (518) 371 3971 x113 | 28 Corporate Drive<br>&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| Clifton Park NY 12065, USA<br>&gt; &gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; François Bertel, PhD  | Kitware Inc. Suite 204<br>&gt; 1 (518) 371 3971 x113 | 28 Corporate Drive<br>&gt;                       | Clifton Park NY 12065, USA<br>&gt; _______________________________________________<br>&gt; Powered by www.kitware.com<br>&gt; <br>&gt; Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>&gt; <br>&gt; Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; 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>