Author Topic: Running an .exe file within CB IDE is fine but outside the IDE its not working?  (Read 2158 times)

Offline pel

  • Multiple posting newcomer
  • *
  • Posts: 16
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?

Offline eranif

  • Regular
  • ***
  • Posts: 254
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



Offline pel

  • Multiple posting newcomer
  • *
  • Posts: 16
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!