Mail Archives: djgpp/2000/10/19/13:15:47
rameshdorai AT my-deja DOT com wrote:
> Is there a way to run my program in the background in dos without me
> seeing a dos window, like what UNIX is capable of.
I don't think so. DOS programs are a bit 'alien' to a Windows machine,
much unlike Unix, where daemons are just ordinary processes. A DOS
program is not just a single program, but rather a complete virtual
machine which that DOS program is running in.
If you want to program a daemon, you should write it in a more
'native' API, i.e. it should be a Win32 (console) application. Such
apps can switch themselves completely into the background --- a quick
view into the process list of a running Win9x system easily confirms
that.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -