[vtkusers] Run-Time error using the vtkRenderer::SetLayer() method

Francesco Caruso guernika79 at gmail.com
Fri Jan 25 09:19:45 EST 2008


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



More information about the vtkusers mailing list