Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Console Application that supports MFC

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,
I have a new problem. My console application that supports MFC doesn't terminate correctly (Error: "the application has caused a not valid operation" ). This happens after the execution of the return instruction in "_tmain". How can I solve this problem?

Thanks in advance.

ASSO
 
I would need to see a bit of the code to better understand the problem. One possible problem is something like this

char input[5];

cin>> input; // and you input over the bounds of the array
// example user types in "Something"

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top