The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: Tally on March 23, 2010, 03:41:54 PM

Title: Why QEv10 project/run program conment can't run console program?
Post by: Tally on March 23, 2010, 03:41:54 PM
I write a small console program about console output .It can be performed  with QEv10  project/console build all, and  a *.exe file was produced. When I run the program using QEv10  project/run program  conment ,the screen only flash. I didn't know the reason. How to use QEv10  project/run program  conment ? Could you help me ?
Title: Re: Why QEv10 project/run program conment can't run console program?
Post by: oex on March 23, 2010, 04:17:34 PM
Your program is quiting immediately after you run it.... either it is erroring or it is displaying the resulting output and then quiting normally.... You want to put something in it that will request user input like a message box or key input request:

ie

invoke MessageBox,0,chr$("Program Ran OK"),chr$("Program End"),MB_OK

or

inkey "Press a key to continue..."
Title: Re: Why QEv10 project/run program conment can't run console program?
Post by: Tally on March 24, 2010, 03:55:43 AM
Thank you,I know my problem! :bg
Title: Re: Why QEv10 project/run program conment can't run console program?
Post by: oex on March 24, 2010, 04:03:39 AM
:lol do you get the solution
Title: Re: Why QEv10 project/run program conment can't run console program?
Post by: Tally on March 28, 2010, 01:29:46 PM
Yes, thank you ! :bg