Mail Archives: djgpp/2002/10/17/02:31:11
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 -