[ОТВЕТИТЬ]
Опции темы
14.09.2006 16:40  
OlegON
// successful Engine function operation returns

#define PXSUCCESS 0


// errorcodes from Engine functions


// initialization errors

#define PXERR_NOTINITERR 78 // Engine not initialized
#define PXERR_ALREADYINIT 82 // Engine already initialized
#define PXERR_NOTLOGGEDIN 98 // Could not login on network (to PARADOX.NET)
#define PXERR_NONETINIT 107 // Engine not initialized with PXNetInit
#define PXERR_NETMULTIPLE 15 // multiple PARADOX.NET files
#define PXERR_CANTSHAREPDOXNET 134 // can't lock PARADOX.NET -- is SHARE.EXE loaded?
#define PXERR_WINDOWSREALMODE 135 // can't run Engine in Windows real mode


// hardware related errors

#define PXERR_DRIVENOTREADY 1 // Drive not ready
#define PXERR_DISKWRITEPRO 124 // Disk is write protected
#define PXERR_GENERALFAILURE 126 // General hardware error


// directory reg error codes

#define PXERR_DIRNOTFOUND 2 // Directory not found
#define PXERR_DIRBUSY 10 // Sharing violation
#define PXERR_DIRLOCKED 11 // Sharing violation
#define PXERR_DIRNOACCESS 12 // No access to directory
#define PXERR_DIRNOTPRIVATE 14 // Single user, but directory is shared


// file oriented errors

#define PXERR_FILEBUSY 3 // File is busy
#define PXERR_FILELOCKED 4 // File is locked
#define PXERR_FILENOTFOUND 5 // Could not find file


// table oriented errors

#define PXERR_TABLEBUSY 118 // Table is busy
#define PXERR_TABLELOCKED 119 // Table is locked
#define PXERR_TABLENOTFOUND 120 // Table was not found
#define PXERR_TABLEOPEN 83 // Unable to perform operation on open table
#define PXERR_TABLEINDEXED 94 // Table is indexed
#define PXERR_TABLENOTINDEXED 95 // Table is not indexed
#define PXERR_TABLEEMPTY 105 // Operation on empty table
#define PXERR_TABLEWRITEPRO 22 // Table is write protected
#define PXERR_TABLEPRE40 93 // Feature not available for pre Paradox 4.0 tables

#define PXERR_TABLECORRUPTED 6 // Table is corrupted
#define PXERR_TABLEFULL 128 // Table is full
#define PXERR_TABLESQL 130 // Table is SQL replica
#define PXERR_INSUFRIGHTS 21 // Insufficient password rights
#define PXERR_CANTUPGRADE 92 // Table too old to upgrade, or
// existing table header too small.
#define PXERR_LOCKTIMEOUT 137 // Timed out trying to achieve a lock.


// index oriented errors

#define PXERR_XCORRUPTED 7 // Primary index is corrupted
#define PXERR_XOUTOFDATE 8 // Primary index is out of date
#define PXERR_XSORTVERSION 13 // Sort for index different from table

#define PXERR_SXCORRUPTED 122 // Secondary index is corrupted
#define PXERR_SXOUTOFDATE 96 // Secondary index is out of date
#define PXERR_SXNOTFOUND 121 // Secondary index was not found
#define PXERR_SXOPEN 123 // Not used-here for backwards compatability
#define PXERR_SXCANTUPDATE 136 // Can't update table open on non-maintained secondary

#define PXERR_RECTOOBIG 125 // Record too big for index


// record oriented errors

#define PXERR_RECDELETED 50 // Another user deleted record
#define PXERR_RECLOCKED 9 // Record is locked
#define PXERR_RECNOTFOUND 89 // Record was not found
#define PXERR_KEYVIOL 97 // Key violation

#define PXERR_ENDOFTABLE 101 // End of table
#define PXERR_STARTOFTABLE 102 // Start of table


// errors specific for Windows Engine DLL

#define PXERR_TOOMANYCLIENTS 131
#define PXERR_EXCEEDSCONFIGLIMITS 132
#define PXERR_CANTREMAPFILEHANDLE 133


// resource errors

#define PXERR_OUTOFMEM 40 // Not enough memory to complete operation
#define PXERR_OUTOFDISK 41 // Not enough disk space to complete operation
#define PXERR_OUTOFSTACK 127 // Not enough stack space to complete operation
#define PXERR_OUTOFSWAPBUF 129 // Not enough swap buffer space to complete operation

#define PXERR_OUTOFFILEHANDLES 70 // No more file handles available
#define PXERR_OUTOFTABLEHANDLES 72 // No more table handles available
#define PXERR_OUTOFRECHANDLES 103 // No more record handles available
#define PXERR_OUTOFLOCKHANDLES 111 // Too many locks on table

#define PXERR_NOMORETMPNAMES 86 // No more temporary names available
#define PXERR_TOOMANYPASSW 115 // Too many passwords specified


// invalid parameters to functions

#define PXERR_TYPEMISMATCH 30 // Data type mismatch
#define PXERR_OUTOFRANGE 31 // Argument out of range
#define PXERR_INVPARAMETER 33 // Invalid argument
#define PXERR_INVDATE 73 // Invalid date given

#define PXERR_INVFIELDHANDLE 75 // Invalid field handle
#define PXERR_INVRECHANDLE 104 // Invalid record handle
#define PXERR_INVTABLEHANDLE 76 // Invalid table handle
#define PXERR_INVLOCKHANDLE 110 // Invalid lock handle

#define PXERR_INVDIRNAME 114 // Invalid directory name
#define PXERR_INVFILENAME 108 // Invalid file name
#define PXERR_INVTABLENAME 99 // Invalid table name
#define PXERR_INVFIELDNAME 74 // Invalid field name

#define PXERR_INVLOCKCODE 106 // Invalid lock code
#define PXERR_INVUNLOCK 109 // Invalid unlock
#define PXERR_INVSORTORDER 112 // Invalid sort order table
#define PXERR_INVPASSW 116 // Invalid password
#define PXERR_INVNETTYPE 113 // Invalid net type (PXNetInit)
#define PXERR_BUFTOOSMALL 117 // Buffer too small for result

#define PXERR_STRUCTDIFFER 81 // Table structures are different

#define PXERR_INVENGINESTATE 79 // Previous fatal error; cannot proceed


// Blob error codes

#define PXERR_BLOBMODE 51 // Operation not applicable for Blob's
// open mode.
#define PXERR_BLOBOPEN 52 // Blob already open.
#define PXERR_BLOBINVOFFSET 53 // Invalid offset into Blob.
#define PXERR_BLOBINVSIZE 54 // Invalid size for Blob.
#define PXERR_BLOBMODIFIED 55 // Another user modified Blob.
#define PXERR_BLOBCORRUPT 56 // Blob file corrupted.
#define PXERR_BLOBNOINDEX 57 // Cannot index on a Blob.
#define PXERR_BLOBINVHANDLE 59 // Invalid Blob handle.
#define PXERR_BLOBNOSEARCH 60 // Can't search on a Blob field.


// Locking related error codes

#define PXERR_INUSEBYPDOX35 16 // Directory is in use by Paradox 3.5
// or Paradox Engine 2.0
 
 
Опции темы



Часовой пояс GMT +3, время: 13:48.

Все в прочитанное - Календарь - RSS - - Карта - Вверх 👫 Яндекс.Метрика
Форум сделан на основе vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd. Перевод: zCarot и OlegON
В случае заимствования информации гипертекстовая индексируемая ссылка на Форум обязательна.