Previous: 4.51.1.2. OG_DATA_STATE_STR[] constant To the Table of Contents Next: 4.51.1.4. OG_MAC_PIXFMT_16BPP constant
4.51.1.2. OG_DATA_STATE_STR[] constant Table of Contents 4.51.1.4. OG_MAC_PIXFMT_16BPP constant

- 4.51.1.3. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.1. ObjGfx40 Unit Constants, Variables, and Data Types
4.51.1.3. OG_ERROR_CODE_STR[] constant


4.51.1.3. OG_ERROR_CODE_STR[] constant

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

The OG_ERROR_CODE_STR[] array is the textual representation of the ogErrorCode enumerated type.

Declaration:
const
  OG_ERROR_CODE_STR:array[ ogErrorCode ] of string[ 128 ] =
    ('No Error',
     'ogError: Memory allocation failed',
     'ogError: ogAlias() failed because a surface has already been created in this object', 
     'ogError: ogClone() failed because srcObject.dataState is ogNone',
     'ogError: The palette in this object has not been allocated',
     'ogError: The bits per pixel value is invalid',
     'ogError: The coordinates in the source region are out of bounds',
     'ogError: The coordinates in the destination region are out of bounds',
     'ogError: The requested file could not be found',
     'ogError: The requested amount to read from the file does not match the actual amount read',
     'ogError: The requested amount to write to the file does not match the actual amount read',
     'ogError: A linear frame buffer could not be established',
     'ogError: This surface does not support cloning of other surfaces',
     'ogError: This surface does not support aliasing of other surfaces',
     'ogError: No mode available which matches the desired resolution',
     'ogError: The directX window handle required for drawing is null',
     'ogError: Trying to set the cooperative level of the directX window failed',
     'ogError: The creation of a directDraw surface has failed',
     'ogError: Attempting to get the attached surface failed',
     'ogError: Attempting to lock the directDraw surface has failed'  
    );


See Also:


Previous: 4.51.1.2. OG_DATA_STATE_STR[] constant To the Table of Contents Next: 4.51.1.4. OG_MAC_PIXFMT_16BPP constant
4.51.1.2. OG_DATA_STATE_STR[] constant Table of Contents 4.51.1.4. OG_MAC_PIXFMT_16BPP constant

- 4.51.1.3. -