<<< DISK$DATA:[NOTES$LIBRARY]PC.NOTE;2 >>> -< SIG PC >- ================================================================================ Note 172.0 Useful MS_DOS hack No replies DECUSF::BROWN_N "Nick BROWN, Conseil de l'Europe" 9 lines 8-APR-1991 18:29 -------------------------------------------------------------------------------- Should anybody be interested... I have placed in PUB:[PC]CALLENV.BCK_Z a small set of library routines (in Turbo C, but should be easy to translate) to enable an MS-DOS program to return values to the calling environment. Since they use some horrible undocumented stuff (at least, I don't have any doc, but then I try to avoid touching MS-DOS internals unless I have to, like I had to in this case)the usual caveats apply...