I have a simple, relatively, program in C++ that refuses to return to Windows with causing a Windows error. I have tried both of the following:
return EXIT_SUCCESS;
return (0);
Thoughts?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've looked through the FAQ's and don't see my problem described. I've also looked for a way to post my source files, but I don't see a way to do that in this forum. Lastly, I'm not sure about your "Basic 3", even after reading the "Read this first" posting.
Joe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Copy and paste a simple test case that compiles and shows the effect you are seeing right in your post.
Here are the Basic 3 - copied from the Please Read Thread:
(1) What version number of Dev are you using, with what OS? (Note that terms like "Newest" or "The one off the CD" are not version numbers)
(2) Provide a simple example program that shows the effect you are seeing. If your program is long, try to construct a simple, focused example program. Remember, it is easier for someone to help you with a simple example program that with a code fragment of a long program.
(3) Post your FULL compile log. Its on the tab labeled "Compile Log". To copy it, grab the text with the mouse as you normally would, and click the right mouse button to bring up the copy menu. If the log is very long, then start at the beginning, and grab the first 5 or so errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a simple, relatively, program in C++ that refuses to return to Windows with causing a Windows error. I have tried both of the following:
return EXIT_SUCCESS;
return (0);
Thoughts?
> Thoughts?
Yes, it is crashing before it ever gets to that statement.
Posting your Basic 3 for a simple as possible working test case would be nice.
Wayne
Wayne,
I've looked through the FAQ's and don't see my problem described. I've also looked for a way to post my source files, but I don't see a way to do that in this forum. Lastly, I'm not sure about your "Basic 3", even after reading the "Read this first" posting.
Joe
Copy and paste a simple test case that compiles and shows the effect you are seeing right in your post.
Here are the Basic 3 - copied from the Please Read Thread:
(1) What version number of Dev are you using, with what OS? (Note that terms like "Newest" or "The one off the CD" are not version numbers)
(2) Provide a simple example program that shows the effect you are seeing. If your program is long, try to construct a simple, focused example program. Remember, it is easier for someone to help you with a simple example program that with a code fragment of a long program.
(3) Post your FULL compile log. Its on the tab labeled "Compile Log". To copy it, grab the text with the mouse as you normally would, and click the right mouse button to bring up the copy menu. If the log is very long, then start at the beginning, and grab the first 5 or so errors.