Run-Time Check Failure #2

i’m running a program (that I didn’t write and unfortunately I dont have the code, but I know it was written using C and C++) and I get the messge “run-time check failure #2 – stack around the variable ‘…’ ” etc.
the point is that when I run it directly from my disk-on-key it works great with no exceptions. but if I copy it to the desktop and run it-I get the message.

my guess is there is memory problem, but I tried it on more than 6 different computers and in all of them i got the same results (from disk on key all good, from desktop it crashes).

any ideas for solution?

Source: c++

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.