◄Up► ◄Contents► ◄Index► ◄Back► ─────Internal Layout of a Bound Program───────────────────────────────────── Bound files have two headers: the first header has a DOS format; the second header has an OS/2 format. When the executable file is run under OS/2, OS/2 ignores the first header and uses the OS/2 format. When the executable file is run under DOS, the DOS header is used to load the file. The figure below shows the arrangement of the headers: ┌────────────────────────────┐ │ DOS header ├──┐ ├────────────────────────────┤ │ │ DOS Family-API library │ │ ├────────────────────────────┤ │ │ Stub loader │ │ ├────────────────────────────┤ │ │ OS/2 Header │◄─┘ ├────────────────────────────┤ │ User program │ └────────────────────────────┘ -♦-