Recent

Author Topic: Console Application: how to avoid command window flashing?  (Read 4222 times)

99Percent

  • Full Member
  • ***
  • Posts: 160
Console Application: how to avoid command window flashing?
« on: October 09, 2010, 06:12:31 am »
I am creating a console application that checks for a newer version of the main application and then goes on to execute this main application. But every time it is executed an annoying command window flashes. Is there anyway to avoid this?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Console Application: how to avoid command window flashing?
« Reply #1 on: October 09, 2010, 06:27:57 am »
If it doesn't do any console mode output (i.e. write(ln)), add {$apptype gui} directive

99Percent

  • Full Member
  • ***
  • Posts: 160
Re: Console Application: how to avoid command window flashing?
« Reply #2 on: October 09, 2010, 02:12:07 pm »
That did it, thanks!

 

TinyPortal © 2005-2018