Making an application that can run 'invisibly'

Giganews Newsgroups
Subject:Making an application that can run 'invisibly'
Posted by: JJ (nospam@nospam.com)
Date:Tue, 25 Sep 2007

Hi,

I have a Windows Delphi 2006 application.

When run 'normally', it is a typical Windows application, with windows,
menus etc.

I would like to have a mode where some functions in the application are
accessed by another EXE, and I would like my application to stay invisible
during this process.
For example, the other application would run my program with a command line
parameter, (myapp.exe /invisible) and then I would know to keep my
application invisible.

Some of the functions would require a dialog in my program to be displayed,
but I wouldn't want the main window shown during that.

I don't know if the solution is to have the main window off-screen but still
creating all windows, and still being able to show the occasional dialog, or
what?

What would be the best way of doing that?

borland.public.delphi.rtl.win32

Replies