News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Running an .exe file within CB IDE is fine but outside the IDE its not working?

Started by pel, December 30, 2007, 05:23:45 PM

Previous topic - Next topic

pel

Hello,

building and running the .exe file within the IDe is working, but when i am browsing to MyProjectfolder/bin/debug/myfile.exe and run the myfile.exe it shows up but entering anything the console windows is closing immediately , why?

eranif

Try to run it from within DOS shell and not from the Windows Explorer, C::B uses a wrapper (cb_console_runner.exe) which executes 'pause' when the program execution is done, so you get the 'hit any key to continue'.

Eran



pel

Quote from: eranif on December 30, 2007, 06:27:36 PM
Try to run it from within DOS shell and not from the Windows Explorer, C::B uses a wrapper (cb_console_runner.exe) which executes 'pause' when the program execution is done, so you get the 'hit any key to continue'.

Eran



thank you that worked!