User forums > Help

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

(1/1)

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




--- End quote ---
thank you that worked!

Navigation

[0] Message Index

Go to full version