[vtkusers] Run-Time error using the vtkRenderer::SetLayer() method
John Platt
jcplatt at dsl.pipex.com
Sat Jan 26 12:51:11 EST 2008
Hi,
You could get this error in VS6 if you had 2 different versions of the
same header file. For example, modifying a vtk header file in your
project but not recompiling any vtk source dependent on this header.
HTH
John.
-----Original Message-----
From: vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org
[mailto:vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org] On Behalf Of
Francesco Caruso
Sent: 25 January 2008 14:20
To: vtkusers at vtk.org
Subject: [vtkusers] Run-Time error using the vtkRenderer::SetLayer()
method
Hello to All,
I tried to use my old code , (working well for vtk 4.2) in vtk 5 with
few modifications, and I
get this run-time error:
"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."
The error occurs when I call the method:
renderer->SetLayer(0)
any hints?
I am using Windows and the msvc 2003 compiler.
Regards
Francesco Caruso
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list