delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/17/03:30:22

From: "ChaoTix" <ChaoTix AT c-a-t DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: TSR Programs (Desperate)
Date: Thu, 17 Oct 2002 09:16:45 +0200
Organization: XS4ALL Internet BV
Lines: 38
Message-ID: <aolo4n$3ip$1@news1.xs4all.nl>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1021017082921 DOT 3848M-100000 AT is>
NNTP-Posting-Host: 213-84-241-227.adsl.xs4all.nl
X-Trace: news1.xs4all.nl 1034838999 3673 213.84.241.227 (17 Oct 2002 07:16:39 GMT)
X-Complaints-To: abuse AT xs4all DOT nl
NNTP-Posting-Date: 17 Oct 2002 07:16:39 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

So I can call the child program trough intterrupts. I have already making
thse programs with Watcom C++ 3.1 and so far no problemmo.
Is there a way to NOT use DPMI? (And still use the djgpp compiler)

Greetz,

ChaoTix

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 1021017082921 DOT 3848M-100000 AT is...
>
> On Wed, 16 Oct 2002, ChaoTix wrote:
>
> > Yes, the child program will be left out there somewhere in the memmory
and
> > will cause a leak, but thats not the problem for now.
>
> Memory leak is not your problem: you will have 2 DPMI programs active at
> the same time, which will totally confuse the DPMI server.
>
> > Right now I have
> > programmed this and gets the next result:
> >
> > Program Main Started      (text from main.exe)
> > Calling Child.exe         (text from main.exe)
> > Terminat and keep....     (text from child.exe)
> > (child programs keeps in memmory and returns to main program)
> > Main program crashes directly with final text line "This text should not
be
> > read", wich is the last printf function in the Child.exe program.
> >
> > How do i know that the child program has been exits and not causes to
crash?
>
> Just don't do that: don't TSR a child program.  Why do you need the child
> to be a TSR, anyway?


- Raw text -


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