In the IDE go to the menu Project -> Compiler Options In the linking tab uncheck win32 gui application That will bring the "dos" window when the program runs. You can use WriteLn and ReadLn to interact with it in your software -- Felipe Monteiro de Carvalho