<html>
The most likely cause of the ESP error is that you are getting the wrong
dll's or<br>
the code is not up-to-date with the compiled binary. You can run a
tool from<br>
Microsoft called depends that will show you which dll's your
application<br>
is using.<br>
<br>
-Bill<br>
<br>
<br>
At 11:24 PM 4/22/2002 +0800, Nelson wrote:<br>
<blockquote type=cite class=cite cite><font size=2>I am used to making
use of VTK in Visual C++ via the class vtkMFCRenderView provided by the
sample. In VTK version 3.2, I am used to have it working well with both
Windows 98 and 2000 platforms. However, when I have updated VTK to 4.0,
running the applicaton on Win2000 results an error dialog which exits and
prohibits the windows from being created : </font><br>
<dl><font size=2>
<dd>Debug Error !
<dd>Program : MyApplication.EXE
<dd>Module :
<dd>File : i386\chkesp.c
<dd>Line : 42
<dd>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.</font>
<dd> <br>
<br>
</dl><font size=2>But I compile the same application with the same
release of VTK (4.0) is working fine on Windows 98 platform. I would like
to know anyone have the same experience or have sucessfully used
vtkMFCRenderView on Windows2000.</font><br>
<br>
<font size=2>Rgds, Nelson.</font></blockquote></html>