> What is the easiest way how to run child EXE process from parent program?
> I can't use COM file and simple FAR CALL because I need a regular DOS child
> process.
> Maybe to hook INT21h/AH=3Dh and INT21h/AH=3Fh and reprogram then to access my
> buffer and not the disk file?

You seem to be confusing and conflating a bunch of things here.  There is no 
such thing as a "child EXE process".  An EXE is a program, not a process.  You 
can run a child program (EXE, COM, and even BAT programs can be EXEC'd as a 
child program).  You can give them command-line paramaters when you run them, 
but while the are running the parent program can't interact with them directly. 
 The entire machine is dedicated to the child program and the parent only gains 
control back again when the child program is done.

This is very different than something like an overlay or a data file which 
simply loads some code and/or data into memory and the main program uses that 
code and/or data in memory by referencing or calling or jumping to the correct 
memory address.

I think what you may be trying to pass data back and forth between your main 
(parent) program and a child program using the buffer.  If that's the case, you 
can just provide the address of the memory buffer to the child process as a 
command-line parameter.


_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to