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.
Can't run Tutorial. Run-Time Check Failure #0
-
- Posts: 7
- Joined: Sun Dec 05, 2010 8:34 am
-
- Posts: 7
- Joined: Sun Dec 05, 2010 8:34 am