home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK7 / SOURCE / STARTUP / DOS / EXECMSG.AS$ / EXECMSG
Encoding:
Text File  |  1991-11-06  |  1.1 KB  |  53 lines

  1.     page    ,132
  2.     title    execmsg.asm - exec messages
  3. ;***
  4. ;execmsg.asm - exec error messages
  5. ;
  6. ;    Copyright (c) 1987-1992, Microsoft Corporation.  All rights reserved.
  7. ;
  8. ;Purpose:
  9. ;    error messages used with exec*() library functions
  10. ;    (and spawn*() functions with P_OVERLAY).
  11. ;
  12. ;*******************************************************************************
  13.  
  14. ?DF=    1            ; this is special to define segments
  15. include version.inc
  16. .xlist
  17. include cmacros.inc
  18. include defsegs.inc
  19. include rterr.inc
  20. .list
  21.  
  22. CrtDefSegs  <nmsg>
  23.  
  24. public    __execmsg
  25. __execmsg= 9876h
  26.  
  27. ;    Messages used by doexec.asm
  28.  
  29. sBegin    nmsg
  30. assumes ds,data
  31.  
  32. ;
  33. ;    WARNING - Doexec.asm expects these three messages to be together
  34. ;          these messages must always have '$' on the end
  35. ;          (the _RTERR macrotakes care of this).
  36.  
  37.  
  38. _RTERR    _RT_EXECMEM, _RT_EXECMEM_TXT, _RT_DOLLAR    ; 'not enough memory on exec'
  39. _RTERR    _RT_EXECFORM, _RT_EXECFORM_TXT, _RT_DOLLAR    ; 'invalid format on exec'
  40. _RTERR    _RT_EXECENV, _RT_EXECENV_TXT, _RT_DOLLAR    ; 'invalid environment on exec'
  41.  
  42. sEnd
  43.  
  44. sBegin    npad
  45. assumes ds,data
  46.     dw    -1
  47. ; no padding for now;
  48. ; MAX padding would be
  49. ;    db    72 dup(0)
  50. sEnd
  51.  
  52.     end
  53.