Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Volatar

Pages: [1]
1
General / Welp, this is a good start: "Run-Time Check Failure #2"
« on: November 17, 2014, 10:21:55 am »
"Run-Time Check Failure #2 - Stack around the variable 'window' was corrupted." is the full error message. Couldn't fit it into the title. Don't think I need to from my Googling. Quite a few instances of the same error pop up.

When does this error occur and with what code?

Code is right from the test at the end of the Visual Studio tutorial:

(click to show/hide)

I get the error when I hit the X to close the little window. First time it came up I hit continue instead of break and I can't end the program anymore xD. Had to reboot to fix that. No big deal. Hitting break allows me to kill it thankfully.

Now here is where it gets interesting I think: two solutions come up in my Googling:

Either A: I am using a version of the library compiled for a different compiler.
or B: I have mixed up my linking between debug and release.

A: Yes, I am running Visual Studio 2013 (update 4). However, I compiled the libraries myself mere minutes before, so that should not be the problem.
B: I keep checking *checks again*... yep, I got the linking right. -d to debug, no -d to release.

I will note that release builds do not throw this error message, but that's because the release build lacks the error handling the debug one does I think. I could be wrong though.

So, any thoughts? Need any more information? I am happy to provide.


2
General / Crash at app run
« on: October 12, 2010, 05:34:34 am »
Every time I run an app with SFML it crashes with an error message similar to the following:



This happens with any app that involves SFML, regardless of the content. Even the sample time test code crashes with this error.

I am running Visual Studio 2010. My friend compiled the latest version of SFML in VS2010 for me. Even then I continue to get the error. My friend, using the exact same code, and the exact same library files, compiles and runs just fine.

My compiler settings (linkers, includes, etc) are all correct.

I am attempting to use the dynamic, debug versions of the libraries.

I am on Windows 7 Ultimate 64-bit.

Pages: [1]
anything