delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/17/15:01:18

From: Erik Rull <erik_rull AT bluewin DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Multiple Programs in DOS
Date: Mon, 17 Jan 2000 19:35:39 +0100
Organization: tesion Communikationsnetze Suedwest GmBH & Co.KG, Stuttgart, Germany
Lines: 31
Message-ID: <388360FB.E8C13428@bluewin.de>
NNTP-Posting-Host: stu1ir6-101-215.ras.tesion.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.6 [de]C-CCK-MCD QXW03207 (Win95; I)
X-Accept-Language: de,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,

I tried a lot with the system() function...

The following is just an idea:

Is it possible to launch another GCC - compiled programm with the
extension ". " ??
And then another, so that they run nearly in a multitasking - system??
I've just used the "GrTask" example, where a simple multitasking is
implemented.
So when I try to launch another file in this environment (with
system()), my system hangs up.
Can I make it possible to run serveral programms at the same time, when
I use parts of the go32.exe sourcecode???
Because if I use, for example, the main() function of go32.exe as a
"normal" function with another name, it should be possible to start
another ". " - file at the same time without interrupting the current
task or function or sth. other. If the function runs, no new .exe is
started and there runs still only one programm!!! If this is continued,
you were able to build up a multitasking system with extern programms,
started and finished by the go32 - function.

Well, I don't know so much about the DOS - core, so can you help me to
solve this problem, or is it completely impossible to do???

Thank you very much!!!

P.S. Where can I get the go32.exe sourcecode, because I can't find it in
my GCC 2.6.3 Distribution!!!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019