Can't run Tutorial. Run-Time Check Failure #0

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
onEnterFrame
Posts: 7
Joined: Sun Dec 05, 2010 8:34 am

Can't run Tutorial. Run-Time Check Failure #0

Post by onEnterFrame »

ok some nice person helped with my last problem. this one is equally annoying - also taking me hours.

running the first tutorial with Visual C++ 2010 Express.
compile works but on running the program getting 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.

this corresponds to the line in the program:

IVideoDriver* driver = device->getVideoDriver();

i am including all the namespaces, linking all the libraries. the code is basically exactly the same as in the tutorial. i know i've been away from c++ for a long time but this library combined with visual c++ is really kicking me around.
onEnterFrame
Posts: 7
Joined: Sun Dec 05, 2010 8:34 am

Post by onEnterFrame »

nevermind. more sneaky .dll files i didnt see.
Post Reply