Error compiling tutorials

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
gilligan70

Error compiling tutorials

Post by gilligan70 »

I get this 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.
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

At which function did this occur? This means that you are doing something very bad. For example writing across the end of an array.
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

I've recieved it before when I had the 0.40 dll in my working folder when compiling against the 0.41 library.
Crud, how do I do this again?
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Ah, that's possible too. In this case I think this will be the reason for the problem, thanks saigumi ;)
The reason for the error message is that some interfaces have changed and have now more or less parameters. In this way the stack will be corrupted. This problem should no more occur in newer versions (since 0.4.1), because the engine checks if it is the right version and prints out a warning.
Post Reply