On 7/30/2026 3:30 PM, Ladislav Lacina via Freedos-devel wrote:
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 are pretty thin on some information what exactly you are trying to
accomplish.
As Eric mentioned, this almost sounds like you're trying to use some
kind of overlay, which is part of the standard library of some compilers.
And also why a COM file (non-relocating code) is not an option. And/or
how would that EXE file that you want to load/execute get into "memory"
in the first place?
I suspect that you are somehow trying to re-invent the wheel in this
endeavor...
Ralf
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel