[Insight-users] Run-Time Check Failure

Julien Jomier jjomier at cs.unc.edu
Sat Feb 19 23:36:15 EST 2005


Hi Dominique,

I just tried with ITK cvs, MSVC 6.0 and your program runs fine.
This sounds like a mix of compilations. Did you recently update ITK? Can 
you try to do a clean build?

Let us know if that was the problem,

Julien

Dominique Belhachemi wrote:
> Dear list-members,
> 
> 
> Problem under Windows - Visual Studio-compiled program stops with 
> runtime-error
> 
> Debug-message:
> "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."
> 
> caused by cylinderSpatialObject::SetRadius / 
> cylinderSpatialObject::SetHeight method-calls... What is the problem?
> Tried out different calling-conventions -
> but none of them seems to work - only _cdecl compiles
> gcc has no problems with that
> 
> 
> Best regards
> Dominique


More information about the Insight-users mailing list