I have an application developed in Linux (Fedora 6-13) it uses MITK, ITK, VTK, QT3.
I installed VS2008 and also MITK, ITK, VTK, QT3.
When I run the application it works fine however after every action I make (clicking on button, changing state of a slider) I get the following error:
Run-Time Check Failure #2 - Stack around the variable 'variablename' was corrupted
Here I can hit continue and the app keeps on working just fine.
Is there a way to disable this runtime-check?
Thank You
Zoli
That runtime check tells you that you have a bug - don't turn off the check, fix the bug.
If you want to have random behavior, aka not fix the bug, then you can disable the check in project properties: C++/Code Generation/Basic Runtime Checks
. Be aware that this will lead to all sorts of weird problems - you won't be overwriting just the data VS uses to detect such overflows, you'll be overwriting data your app uses.
I'd suggest you post the relevant code here on SO - you'll get help fixing the problem instead of hiding it.