typedef long ERROR_NUMBER;

#define ERROR_NONE	0
#define ERROR_MEMORY_ALLOCATION	-1
#define ERROR_READING_FILE	-2
#define ERROR_WRITING_FILE	-3
#define ERROR_OPENING_FILE	-4
#define ERROR_DIFFERENT_DIMENSIONS	-5
#define ERROR_PALETTE	-6
#define ERROR_PARAMETERS	-7
#define ERROR_WANT16BITGRAYSCALEINPUT	-8
#define ERROR_OPM_SERVER_DOWN -9
#define ERROR_SERVER_TIMEOUT -10
#define ERROR_OPENING_DATABASE -11
#define ERROR_CLOSING_DATABASE -12
#define ERROR_UPDATING_DATABASE -13
#define ERROR_PAINTING_WINDOW -14
#define ERROR_IMAGE_PARAMETERS -15
#define ERROR_SINGULAR_MATRIX -16
#define ERROR_FILE_TYPE_NOT_HANDLED -17
#define ERROR_READING_AFFYMETRIX_HEADER -18
#define ERROR_SKEW_KURTOSIS_VARIANCE -19
#define ERROR_TIME_OUT -20
#define ERROR_SEARCH -21
#define ERROR_FILENAME  -22
#define ERROR_NULL_PTR	-23
#define ERROR_UNRECOGNIZABLE_SPECIES	-24
#define ERROR_MAKING_BITMAP	-25
#define ERROR_GETTING_FILENAME	-26
#define ERROR_TOO_MANY_BAD_GENES	-27
#define ERROR_OUT_OF_RANGE	-28
#define ERROR_NAME_CONFLICT	-29
#define ERROR_CELLS_ALREADY_MASKED -30
#define ERROR_UNRECOGNIZABLE_CHIP_TYPE -31
#define ERROR_IMAGE_DIMENSIONS -32
#define ERROR_OPENING_CELL_FILE -33
#define ERROR_OPENING_COMPACT_FILE -34
#define ERROR_OPENING_CDF_FILE -35
#define ERROR_NO_MATCH_INFO -36
#define ERROR_NO_MISMATCH_INFO -37
#define ERROR_OBTAINING_MATCHING_PROBE_PAIR -38
#define ERROR_TOO_MANY_PROBE_PAIRS -39
#define ERROR_NO_ALIGNMENT_INFO -40
#define ERROR_INSUFFICIENT_DATA -41
#define ERROR_FILE_FORMAT -42
#define ERROR_GETTING_DIRECTORY -43
#define ERROR_OPENING_RECORDSET -44
#define ERROR_QUERYING_DATABASE -45
#define ERROR_CONNECTING_TO_DATABASE -46
#define ERROR_OPENING_CURSOR -47
#define ERROR_INITIALIZATION -48
#define ERROR_TOOFEWARGS -49
#define ERROR_FILENOTFOUND -50
#define ERROR_SELECTINGPALETTE -51
#define ERROR_REALIZINGPALETTE -52
#define ERROR_NOSTANDARDINPUT -53
#define ERROR_CLOSING_FILE -54
#define ERROR_EOF -55
#define ERROR_COMPLEXDATAREQUIRED -56
#define ERROR_DATATYPENOTHANDLED -57
#define ERROR_DIVIDEBYZERO -58
#define ERROR_LACKING_GEOMETRIC_INFO -59
#define ERROR_CREATING_DIRECTORY -60
#define ERROR_NO_CONTROL_POINTS -61
#define ERROR_ZERO_MATRIX -62
#define ERROR_PREHEADER_NOT_READ	-63
#define ERROR_OPENING_GRC_FILE -64

