C++ MFC

Moderators: Lundin
Number of threads: 3337
Number of posts: 9005

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
MFC application project, "stack around variable was corrupted" error Posted by Monique7 on 29 Oct 2012 at 2:23 PM
Hi, I have an MFC application project and I import data from a file, saving the number of lines in a variable- nr.
After I build and run there is the output window and if I resize it , the number of lines increases with each resize(like if there are 4 lines in the text file it's first 4, then 8,12,...) untill there is the error message:stack around variable "myvar" was corrupted.
I'm sure that the reading from file is correct for I verified it outside of VS, so what's the problem?
Report
Re: Posted by jackdark on 12 Apr 2013 at 3:39 AM
Use the "Call stack" window (near of output) to locate the exception point...
Report
Re: Posted by jackdark on 12 Apr 2013 at 3:42 AM
Use the "Call stack" window (near of output) to locate the exception point...



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.