DOS/32 Advanced DOS Extender - Programmer's Reference

3.29 - DOS function 4Bh - Execute Program (sub-function 00h)


In: AH = 4Bh
AL = 00h
DS:EDX = pointer to ASCIIZ path name
ES:EBX = pointer to parameter block

if successful:
CF clear

if failed:
CF set
EAX = DOS error code



a) DOS/32 Advanced will copy the environment provided by the protected mode program into conventional (DOS) memory where it can be reached by the real mode DOS.

b) This function will return an error (EAX=0FFFFFFFFh and CF set) when there was not enough conventional (DOS) memory for the protected mode program's environment, or when the DPMI host could not allocate a selector for the allocated memory block.

c) The only supported sub-function is AL=00h.

Refer to "DOS/32 Advanced Technical Reference" documentation for more information on how to use this function and how to spawn programs under DOS/32 Advanced DOS Extender.


Copyright Supernar Systems, Ltd. 1996-2005
All Rights Reserved.