home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / image / symedit / strings.h < prev    next >
C/C++ Source or Header  |  1993-07-06  |  2KB  |  38 lines

  1. #if ! defined( _RES_STR_ )
  2. #define _RES_STR_
  3.  
  4. #ifdef RESOURCES
  5. #define RES_STR(a, b, c) b, c
  6. STRINGTABLE
  7. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  8. BEGIN
  9. #else
  10.  
  11. enum _RESOURCEIDS {
  12. #define RES_STR(a, b, c) a = b,
  13. #endif
  14.  
  15.  
  16. RES_STR(ERR_OPEN_INPUT_FILE,    1,      "The file '%s' could not be openned for reading")
  17. RES_STR(ERR_INVALID_PE,         2,      "'%s' is not a valid PE exe file with debug info")
  18. RES_STR(ERR_NO_DEST,            3,      "Need to specify a destination for the converted debug information")
  19. RES_STR(ERR_OPEN_WRITE_FILE,    4,      "Cannot open the file '%s' for writing")
  20. RES_STR(ERR_EDIT_DBG_FILE,      5,      "Cannot edit name file in DBG file")
  21. RES_STR(ERR_MAP_FILE,           6,      "Cannot map the file '%s'")
  22. RES_STR(ERR_NO_COFF,            7,      "No COFF debug information present to be converted")
  23. RES_STR(ERR_NOT_MAPPED,         8,      "Cannot add CV info unless debug information is mapped")
  24. RES_STR(ERR_COFF_TO_CV,         9,      "Cannot convert COFF debug information to CodeView debug information")
  25. RES_STR(ERR_OP_UNKNOWN,         10,     "Operation '%s' is unknown")
  26. RES_STR(ERR_NO_MEMORY,          11,     "Out of memory")
  27. RES_STR(ERR_FILE_PTRS,          12,     "INTERNAL: cannot set file pointers")
  28. RES_STR(ERR_SET_EOF,            13,     "INTERNAL: cannot set the end of file markder")
  29. RES_STR(ERR_CHECKSUM_CALC,      14,     "INTERNAL: cannot compute the image checksum")
  30.  
  31. #ifdef RESOURCES
  32. END
  33. #else
  34. };
  35. #endif
  36.  
  37. #endif // _RES_STR_
  38.