Problem Plz Help!

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
Shai-Tan
Posts: 15
Joined: Fri Sep 10, 2004 8:37 pm

Problem Plz Help!

Post by Shai-Tan »

I have this error when I'm trying to run first tutorial. I never had any problems with irrlicht before.

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.

What is cousing it?
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

This usually means you are using headers from one version and the library from another.
Crud, how do I do this again?
Shai-Tan
Posts: 15
Joined: Fri Sep 10, 2004 8:37 pm

Post by Shai-Tan »

How can it be? I've downloaded the zip file of Irrlicht 0.7. I even got the copy of the old zip before the latest updates. I still have the problem.

I can't be using the headers from a different version. Lately, I re-installed my windows and it was a complete format.( Yes, I downloaded all the patches and drivers too)

Before that I had a problem that was something like.... problem with the device creation in Irrlicht.dll, but it went away after few changes in Path.
Shai-Tan
Posts: 15
Joined: Fri Sep 10, 2004 8:37 pm

Post by Shai-Tan »

Does Visual Studio copy any headers to some catch or Temp directory? Could it be that it tries to access them from a different folder? I was testing 0.6 version, and it worked with no problems, but I deleted it and removed all pathes.
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

The only cache that VS would keep is the compiled objecte waiting to be linked. If you run a rebuild or clean and build, those should be removed.

The most common ways that this happens is when an old DLL is tossed somewhere in the path, like c:\windows\system32 or is copied into the same directory as the binaries for your project c:\myproject\Debug\

Or conversly, if you still have the 0.6 location in you Projects Additional Directories area for the library and includes.
Crud, how do I do this again?
Post Reply