Run-Time Check Failure

Run-Time Check Failure
0.0 0


I’m having problems errors in the attached photo is out.
Is there a solution?

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.

cocos2d-x v2.1.3
Windows7 x64
VisualStudio Express 2012

スクリーンショット 2013-10-20 12.33.30.png (29.4 KB)


It means that the call stack has been destroyed. This may happen when the memory is illegally used (usually caused by incorrect pointers or incorrect DLL or LIB use). Could you please take a screenshot of your code, or press the “Break” button and take a screenshot?


Hi Shiqing Lv.
I’ll try to attach a screen shot.
Other, please say if there is information you want specifically.


I’ve found the cause of the above error.
pass to schedule_selector, description of method was wrong.