From: pjc AT skipstone DOT com Message-ID: <32FFCAB4.6FFD@skipstone.com> Date: Mon, 10 Feb 1997 17:26:12 -0800 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: dpmi_error recording Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi folks I am trying to get access to the return code in ax whenever a dpmi function call fails. Particularly, when issuing __dpmi_free_ldt_descriptor(desc) __dpmi_free_physical_address_mapping(meminfo) Info says if an error occurs, the return value is -1; dpmi.h says most routines return -1 on error and set __dpmi_error = ax I looked in \djgpp\src\libc\dpmi\api\d0000.s and d0801.s, dpmidefs.h, etc and it looks like dpmi_error should get set... Is this stuff in the faq??? help phil christensen pjc AT skipstone DOT com