This is probably a &quot;wrong dlls being loaded&quot; problem... (From the message, I infer you are building with Visual Studio and running on Windows.)<div><br></div><div>If you run it in the debugger, observe the full path name of the VTK dlls being loaded and make sure they are the VTK 5.4 dlls that you think they are/should be.</div>
<div><br></div><div>This message manifests itself when somebody builds their application against a VTK 5.4, but then loads different VTK dlls (usually because of a path in the system PATH env var).</div><div><br></div><div>
To fix it, remove the other VTK dlls, change your PATH env var, or set the PATH such that the VTK 5.4 dlls get loaded first.....</div><div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br><br><div class="gmail_quote">
On Thu, Apr 9, 2009 at 7:00 AM, Giancarlo Amati <span dir="ltr">&lt;<a href="mailto:ilferraresebono@hotmail.it">ilferraresebono@hotmail.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
Hello guys,<br><br>I have my own library called vtkGIPLReader which reads the GIPL format of an MRI scan. now the problem I think is that that class has been written in with VTK 4.2 and never updated. Now, before updating my vtk from 5.2 to 5.4 today, everything was fine with the vtkGIPLreader, but now, I got this really strange RUN TIME message:<br>
<br>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.<br>
<br>What is this about? <br><br>Kind regards.<br>Giancarlo Amati<br><br><hr>Il remix esclusivo di Messenger.  <a href="http://clk.atdmt.com/GBL/go/140630362/direct/01/" target="_blank">Scaricalo gratis!</a></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>