home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / BDE.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  148.5 KB  |  3,722 lines

  1. //----------------------------------------------------------------------------
  2. // Bde.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: Bde.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef BdeHPP
  6. #define BdeHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef WindowsHPP
  9. #include <Windows.hpp>
  10. #endif
  11.  
  12. #ifndef SystemHPP
  13. #include <System.hpp>
  14. #endif
  15.  
  16. namespace Bde
  17. {
  18. //-- type declarations -------------------------------------------------------
  19. typedef System::Integer DBIDATE;
  20.  
  21. typedef System::Integer TIME;
  22.  
  23. typedef System::Double TIMESTAMP;
  24.  
  25. typedef System::Word DBIResult;
  26.  
  27. typedef System::Integer TypedEnum;
  28.  
  29. typedef void *PLocale;
  30.  
  31. struct _hDBIObj
  32. {
  33.     
  34. } ;
  35.  
  36. typedef _hDBIObj *hDBIObj;
  37.  
  38. typedef _hDBIObj *hDBIDb;
  39.  
  40. typedef _hDBIObj *hDBIQry;
  41.  
  42. typedef _hDBIObj *hDBIStmt;
  43.  
  44. typedef _hDBIObj *hDBICur;
  45.  
  46. typedef _hDBIObj *hDBISes;
  47.  
  48. typedef _hDBIObj *hDBIXlt;
  49.  
  50. typedef _hDBIObj *hDBICfg;
  51.  
  52. typedef _hDBIObj *hDBIXact;
  53.  
  54. typedef _hDBIObj *hDBIFilter;
  55.  
  56. typedef _hDBIObj *hDBIDR;
  57.  
  58. typedef hDBIObj *phDBIObj;
  59.  
  60. typedef hDBIDb *phDBIDb;
  61.  
  62. typedef hDBIQry *phDBIQry;
  63.  
  64. typedef hDBIStmt *phDBIStmt;
  65.  
  66. typedef hDBICur *phDBICur;
  67.  
  68. typedef hDBISes *phDBISes;
  69.  
  70. typedef hDBIXlt *phDBIXlt;
  71.  
  72. typedef hDBICfg *phDBICfg;
  73.  
  74. typedef hDBIXact *phDBIXact;
  75.  
  76. typedef hDBIFilter *phDBIFilter;
  77.  
  78. typedef hDBIDR *phDBIDR;
  79.  
  80. typedef System::Char DBIPATH[261];
  81.  
  82. typedef System::Char DBINAME[32];
  83.  
  84. typedef System::Char DBIEXT[4];
  85.  
  86. typedef System::Char DBIDOTEXT[5];
  87.  
  88. typedef System::Char DBIDRIVE[128];
  89.  
  90. typedef System::Char DBITBLNAME[261];
  91.  
  92. typedef System::Char DBISPNAME[65];
  93.  
  94. typedef System::Char DBIUSERNAME[15];
  95.  
  96. typedef System::Word DBIKEY[16];
  97.  
  98. typedef System::Char DBIKEYEXP[221];
  99.  
  100. typedef System::Byte DBIVCHK[256];
  101.  
  102. typedef System::Char DBIPICT[176];
  103.  
  104. typedef System::Char DBIMSG[128];
  105.  
  106. typedef System::Char DBIDRTYPEDESC[128];
  107.  
  108. typedef System::Char DBISQLSTR[8193];
  109.  
  110. struct DBIEnv;
  111. typedef DBIEnv *pDBIEnv;
  112.  
  113. struct DBIEnv
  114. {
  115.     System::Char szWorkDir[261];
  116.     System::Char szIniFile[261];
  117.     System::WordBool bForceLocalInit;
  118.     System::Char szLang[32];
  119.     System::Char szClientName[32];
  120. } ;
  121.  
  122. struct SYSVersion;
  123. typedef SYSVersion *pSYSVersion;
  124.  
  125. struct SYSVersion
  126. {
  127.     System::Word iVersion;
  128.     System::Word iIntfLevel;
  129.     System::Longint dateVer;
  130.     System::Longint timeVer;
  131.     System::Char szVersion[20];
  132. } ;
  133.  
  134. struct SYSConfig;
  135. typedef SYSConfig *pSYSConfig;
  136.  
  137. struct SYSConfig
  138. {
  139.     System::WordBool bLocalShare;
  140.     System::Word iNetProtocol;
  141.     System::WordBool bNetShare;
  142.     System::Char szNetType[32];
  143.     System::Char szUserName[15];
  144.     System::Char szIniFile[261];
  145.     System::Char szLangDriver[32];
  146. } ;
  147.  
  148. struct SYSInfo
  149. {
  150.     System::Word iBufferSpace;
  151.     System::Word iHeapSpace;
  152.     System::Word iDrivers;
  153.     System::Word iClients;
  154.     System::Word iSessions;
  155.     System::Word iDatabases;
  156.     System::Word iCursors;
  157. } ;
  158.  
  159. typedef SYSInfo *pSYSInfo;
  160.  
  161. struct CLIENTInfo
  162. {
  163.     System::Char szName[32];
  164.     System::Word iSessions;
  165.     System::Char szWorkDir[261];
  166.     System::Char szLang[32];
  167. } ;
  168.  
  169. typedef CLIENTInfo *pCLIENTInfo;
  170.  
  171. struct SESInfo;
  172. typedef SESInfo *pSESInfo;
  173.  
  174. struct SESInfo
  175. {
  176.     System::Word iSession;
  177.     System::Char szName[32];
  178.     System::Word iDatabases;
  179.     System::Word iCursors;
  180.     System::Smallint iLockWait;
  181.     System::Char szNetDir[261];
  182.     System::Char szPrivDir[261];
  183. } ;
  184.  
  185. enum FLDVchk { fldvNOCHECKS, fldvHASCHECKS, fldvUNKNOWN };
  186.  
  187. enum FLDRights { fldrREADWRITE, fldrREADONLY, fldrNONE, fldrUNKNOWN };
  188.  
  189. struct FLDDesc;
  190. typedef FLDDesc *pFLDDesc;
  191.  
  192. struct FLDDesc
  193. {
  194.     System::Word iFldNum;
  195.     System::Char szName[32];
  196.     System::Word iFldType;
  197.     System::Word iSubType;
  198.     System::Smallint iUnits1;
  199.     System::Smallint iUnits2;
  200.     System::Word iOffset;
  201.     System::Word iLen;
  202.     System::Word iNullOffset;
  203.     FLDVchk efldvVchk;
  204.     FLDRights efldrRights;
  205.     System::WordBool bCalcField;
  206.     System::Word iUnUsed[2];
  207. } ;
  208.  
  209. struct IDXDesc;
  210. typedef IDXDesc *pIDXDesc;
  211.  
  212. struct IDXDesc
  213. {
  214.     
  215. #pragma pack(push, 1)
  216.     System::Char szName[261];
  217.     System::Word iIndexId;
  218.     System::Char szTagName[32];
  219.     System::Char szFormat[32];
  220.     System::WordBool bPrimary;
  221.     System::WordBool bUnique;
  222.     System::WordBool bDescending;
  223.     System::WordBool bMaintained;
  224.     System::WordBool bSubset;
  225.     System::WordBool bExpIdx;
  226.     System::Word iCost;
  227.     System::Word iFldsInKey;
  228.     System::Word iKeyLen;
  229.     System::WordBool bOutofDate;
  230.     System::Word iKeyExpType;
  231.     System::Word aiKeyFld[16];
  232.     System::Char szKeyExp[221];
  233.     System::Char szKeyCond[221];
  234.     System::WordBool bCaseInsensitive;
  235.     System::Word iBlockSize;
  236.     System::Word iRestrNum;
  237.     System::WordBool abDescending[16];
  238.     System::Word iUnUsed[16];
  239. #pragma pack(pop)
  240. } ;
  241.  
  242. enum LKUPType { lkupNONE, lkupPRIVATE, lkupALLCORRESP, lkupHELP, lkupALLCORRESPHELP };
  243.  
  244. struct VCHKDesc;
  245. typedef VCHKDesc *pVCHKDesc;
  246.  
  247. struct VCHKDesc
  248. {
  249.     
  250. #pragma pack(push, 1)
  251.     System::Word iFldNum;
  252.     System::WordBool bRequired;
  253.     System::WordBool bHasMinVal;
  254.     System::WordBool bHasMaxVal;
  255.     System::WordBool bHasDefVal;
  256.     System::Byte aMinVal[256];
  257.     System::Byte aMaxVal[256];
  258.     System::Byte aDefVal[256];
  259.     System::Char szPict[176];
  260.     LKUPType elkupType;
  261.     System::Char szLkupTblName[261];
  262. #pragma pack(pop)
  263. } ;
  264.  
  265. enum RINTType { rintMASTER, rintDEPENDENT };
  266.  
  267. enum RINTQual { rintRESTRICT, rintCASCADE };
  268.  
  269. struct RINTDesc
  270. {
  271.     
  272. #pragma pack(push, 1)
  273.     System::Word iRintNum;
  274.     System::Char szRintName[32];
  275.     RINTType eType;
  276.     System::Char szTblName[261];
  277.     RINTQual eModOp;
  278.     RINTQual eDelOp;
  279.     System::Word iFldCount;
  280.     System::Word aiThisTabFld[16];
  281.     System::Word aiOthTabFld[16];
  282. #pragma pack(pop)
  283. } ;
  284.  
  285. typedef RINTDesc *pRINTDesc;
  286.  
  287. typedef System::Integer PRVType;
  288.  
  289. struct SECDesc;
  290. typedef SECDesc *pSECDesc;
  291.  
  292. struct SECDesc
  293. {
  294.     
  295. #pragma pack(push, 1)
  296.     System::Word iSecNum;
  297.     System::Integer eprvTable;
  298.     System::Word iFamRights;
  299.     System::Char szPassword[32];
  300.     System::Integer aprvFld[256];
  301. #pragma pack(pop)
  302. } ;
  303.  
  304. enum DBIOBJType { objFILLER, objSYSTEM, objSESSION, objDRIVER, objDATABASE, objCURSOR, objSTATEMENT, 
  305.     objCLIENT, objDBSEC, objREPOSITORY };
  306.  
  307. enum DBIShareMode { dbiOPENSHARED, dbiOPENEXCL };
  308.  
  309. enum DBIOpenMode { dbiREADWRITE, dbiREADONLY };
  310.  
  311. enum DBILockType { dbiNOLOCK, dbiWRITELOCK, dbiREADLOCK };
  312.  
  313. enum XLTMode { xltNONE, xltRECORD, xltFIELD };
  314.  
  315. enum UPDLockMode { updWHEREALL, updWHEREKEYCHG, updWHEREKEY };
  316.  
  317. struct CURProps;
  318. typedef CURProps *pCURProps;
  319.  
  320. struct CURProps
  321. {
  322.     
  323. #pragma pack(push, 1)
  324.     System::Char szName[261];
  325.     System::Word iFNameSize;
  326.     System::Char szTableType[32];
  327.     System::Word iFields;
  328.     System::Word iRecSize;
  329.     System::Word iRecBufSize;
  330.     System::Word iKeySize;
  331.     System::Word iIndexes;
  332.     System::Word iValChecks;
  333.     System::Word iRefIntChecks;
  334.     System::Word iBookMarkSize;
  335.     System::WordBool bBookMarkStable;
  336.     DBIOpenMode eOpenMode;
  337.     DBIShareMode eShareMode;
  338.     System::WordBool bIndexed;
  339.     System::Smallint iSeqNums;
  340.     System::WordBool bSoftDeletes;
  341.     System::WordBool bDeletedOn;
  342.     System::Word iRefRange;
  343.     XLTMode exltMode;
  344.     System::Word iRestrVersion;
  345.     System::WordBool bUniDirectional;
  346.     System::Word eprvRights;
  347.     System::Word Dummy4;
  348.     System::Word iFmlRights;
  349.     System::Word iPasswords;
  350.     System::Word iCodePage;
  351.     System::WordBool bProtected;
  352.     System::Word iTblLevel;
  353.     System::Char szLangDriver[32];
  354.     System::WordBool bFieldMap;
  355.     System::Word iBlockSize;
  356.     System::WordBool bStrictRefInt;
  357.     System::Word iFilters;
  358.     System::WordBool bTempTable;
  359.     System::Word iUnUsed[16];
  360. #pragma pack(pop)
  361. } ;
  362.  
  363. enum DBIDelayedUpdCmd { dbiDelayedUpdCommit, dbiDelayedUpdCancel, dbiDelayedUpdCancelCurrent, dbiDelayedUpdPrepare 
  364.     };
  365.  
  366. struct RECProps;
  367. typedef RECProps *pRECProps;
  368.  
  369. struct RECProps
  370. {
  371.     System::Longint iSeqNum;
  372.     System::Longint iPhyRecNum;
  373.     System::Word iRecStatus;
  374.     System::WordBool bSeqNumChanged;
  375.     System::WordBool bDeleteFlag;
  376. } ;
  377.  
  378. enum eXILType { xilDIRTYREAD, xilREADCOMMITTED, xilREPEATABLEREAD };
  379.  
  380. enum eXEnd { xendCOMMIT, xendCOMMITKEEP, xendABORT };
  381.  
  382. enum eXState { xsINACTIVE, xsACTIVE };
  383.  
  384. struct XInfo
  385. {
  386.     eXState exState;
  387.     eXILType eXIL;
  388.     System::Word uNests;
  389. } ;
  390.  
  391. typedef XInfo *pXInfo;
  392.  
  393. typedef System::Integer *PCMPBkMkRslt;
  394.  
  395. typedef System::Integer CMPBkMkRslt;
  396.  
  397. enum DBISearchCond { keySEARCHEQ, keySEARCHGT, keySEARCHGEQ };
  398.  
  399. enum CROpType { crNOOP, crADD, crCOPY, crMODIFY, crDROP, crREDO, crTABLE, crGROUP, crFAMILY, crDONE, 
  400.     crDROPADD };
  401.  
  402. typedef CROpType *pCROpType;
  403.  
  404. struct CRTblDesc;
  405. typedef CRTblDesc *pCRTblDesc;
  406.  
  407. struct CRTblDesc
  408. {
  409.     
  410. #pragma pack(push, 1)
  411.     System::Char szTblName[261];
  412.     System::Char szTblType[32];
  413.     System::Char szErrTblName[261];
  414.     System::Char szUserName[32];
  415.     System::Char szPassword[32];
  416.     System::WordBool bProtected;
  417.     System::WordBool bPack;
  418.     System::Word iFldCount;
  419.     CROpType *pecrFldOp;
  420.     FLDDesc *pfldDesc;
  421.     System::Word iIdxCount;
  422.     CROpType *pecrIdxOp;
  423.     IDXDesc *pidxDesc;
  424.     System::Word iSecRecCount;
  425.     CROpType *pecrSecOp;
  426.     SECDesc *psecDesc;
  427.     System::Word iValChkCount;
  428.     CROpType *pecrValChkOp;
  429.     VCHKDesc *pvchkDesc;
  430.     System::Word iRintCount;
  431.     CROpType *pecrRintOp;
  432.     RINTDesc *printDesc;
  433.     System::Word iOptParams;
  434.     FLDDesc *pfldOptParams;
  435.     void *pOptData;
  436. #pragma pack(pop)
  437. } ;
  438.  
  439. struct BATTblDesc
  440. {
  441.     _hDBIObj *hDb;
  442.     System::Char szTblName[261];
  443.     System::Char szTblType[32];
  444.     System::Char szUserName[32];
  445.     System::Char szPassword[32];
  446. } ;
  447.  
  448. typedef BATTblDesc *pBATTblDesc;
  449.  
  450. enum eBATMode { batchAPPEND, batchUPDATE, batchAPPENDUPDATE, batchSUBTRACT, batchCOPY };
  451.  
  452. enum SORTOrder { sortASCEND, sortDESCEND };
  453.  
  454. typedef SORTOrder *pSORTOrder;
  455.  
  456. typedef System::Smallint __fastcall (*pfSORTCompFn)(System::Pointer &LdObj, System::Pointer &Value1, 
  457.     System::Pointer &Value2, System::Smallint iLen);
  458.  
  459. typedef pfSORTCompFn *ppfSORTCompFn;
  460.  
  461. enum DRVCat { drvFILLER, drvFILE, drvOTHERSERVER, drvSQLBASEDSERVER };
  462.  
  463. enum OPType { opFILLER0, opFILLER1, opFILLER2, opDBCREATE, opDBOPEN, opTBLCREATE, opTBLOPEN };
  464.  
  465. struct DRVType;
  466. typedef DRVType *pDRVType;
  467.  
  468. struct DRVType
  469. {
  470.     System::Char szType[32];
  471.     System::Char szText[32];
  472.     DRVCat edrvCat;
  473.     System::WordBool bTrueDb;
  474.     System::Char szDbType[32];
  475.     System::WordBool bMultiUser;
  476.     System::WordBool bReadWrite;
  477.     System::WordBool bTrans;
  478.     System::WordBool bPassThruSQL;
  479.     System::WordBool bLogIn;
  480.     System::WordBool bCreateDb;
  481.     System::WordBool bDeleteDb;
  482.     System::WordBool bCreateTable;
  483.     System::WordBool bDeleteTable;
  484.     System::WordBool bMultiplePWs;
  485.     System::Word iDriverVersion;
  486.     System::WordBool bSQLRowid;
  487.     System::Word iUnUsed[15];
  488. } ;
  489.  
  490. struct TBLType;
  491. typedef TBLType *pTBLType;
  492.  
  493. struct TBLType
  494. {
  495.     System::Word iId;
  496.     System::Char szName[32];
  497.     System::Char szText[32];
  498.     System::Char szFormat[32];
  499.     System::WordBool bReadWrite;
  500.     System::WordBool bCreate;
  501.     System::WordBool bRestructure;
  502.     System::WordBool bValChecks;
  503.     System::WordBool bSecurity;
  504.     System::WordBool bRefIntegrity;
  505.     System::WordBool bPrimaryKey;
  506.     System::WordBool bIndexing;
  507.     System::Word iFldTypes;
  508.     System::Word iMaxRecSize;
  509.     System::Word iMaxFldsInTable;
  510.     System::Word iMaxFldNameLen;
  511.     System::Word iTblLevel;
  512.     System::Word iUnUsed[16];
  513. } ;
  514.  
  515. struct IDXType;
  516. typedef IDXType *pIDXType;
  517.  
  518. struct IDXType
  519. {
  520.     System::Word iId;
  521.     System::Char szName[32];
  522.     System::Char szText[32];
  523.     System::Char szFormat[32];
  524.     System::WordBool bComposite;
  525.     System::WordBool bPrimary;
  526.     System::WordBool bUnique;
  527.     System::WordBool bKeyDescending;
  528.     System::WordBool bFldDescending;
  529.     System::WordBool bMaintained;
  530.     System::WordBool bSubset;
  531.     System::WordBool bKeyExpr;
  532.     System::WordBool bCaseInsensitive;
  533.     System::Word iUnUsed[16];
  534. } ;
  535.  
  536. struct FLDType;
  537. typedef FLDType *pFLDType;
  538.  
  539. struct FLDType
  540. {
  541.     System::Word iId;
  542.     System::Char szName[32];
  543.     System::Char szText[32];
  544.     System::Word iPhyType;
  545.     System::Word iXltType;
  546.     System::Word iXltSubType;
  547.     System::Word iMaxUnits1;
  548.     System::Word iMaxUnits2;
  549.     System::Word iPhySize;
  550.     System::WordBool bRequired;
  551.     System::WordBool bDefaultVal;
  552.     System::WordBool bMinVal;
  553.     System::WordBool bMaxVal;
  554.     System::WordBool bRefIntegrity;
  555.     System::WordBool bOtherChecks;
  556.     System::WordBool bKeyed;
  557.     System::WordBool bMultiplePerTable;
  558.     System::Word iMinUnits1;
  559.     System::Word iMinUnits2;
  560.     System::WordBool bCreateable;
  561.     System::Char szNativeName[32];
  562.     System::Word iUnUsed[16];
  563. } ;
  564.  
  565. enum PROPValid { epropINVALID, epropCANGET, epropCANSET };
  566.  
  567. enum CBType { cbGENERAL, cbRESERVED1, cbRESERVED2, cbINPUTREQ, cbRESERVED4, cbRESERVED5, cbBATCHRESULT, 
  568.     cbRESERVED7, cbRESTRUCTURE, cbRESERVED9, cbRESERVED10, cbRESERVED11, cbRESERVED12, cbRESERVED13, cbRESERVED14, 
  569.     cbRESERVED15, cbRESERVED16, cbRESERVED17, cbTABLECHANGED, cbRESERVED19, cbCANCELQRY, cbSERVERCALL, 
  570.     cbRESERVED22, cbGENPROGRESS, cbDBASELOGIN, cbDELAYEDUPD, cbFIELDRECALC, cbTRACE, cbDBLOGIN, cbDETACHNOTIFY, 
  571.     cbNBROFCBS };
  572.  
  573. typedef CBType *pCBType;
  574.  
  575. enum CBRType { cbrUSEDEF, cbrCONTINUE, cbrABORT, cbrCHKINPUT, cbrYES, cbrNO, cbrPARTIALASSIST, cbrSKIP, 
  576.     cbrRETRY };
  577.  
  578. typedef CBRType *pCBRType;
  579.  
  580. typedef CBRType __stdcall (*pfDBICallBack)(CBType ecbType, System::Longint iClientData, System::Pointer 
  581.     CbInfo);
  582.  
  583. typedef pfDBICallBack *ppfDBICallBack;
  584.  
  585. struct CBPROGRESSDesc;
  586. typedef CBPROGRESSDesc *pCBPROGRESSDesc;
  587.  
  588. struct CBPROGRESSDesc
  589. {
  590.     System::Smallint iPercentDone;
  591.     System::Char szMsg[128];
  592. } ;
  593.  
  594. enum DelayUpdErrOpType { delayupdNONE, delayupdMODIFY, delayupdINSERT, delayupdDELETE };
  595.  
  596. struct DELAYUPDCbDesc
  597. {
  598.     
  599. #pragma pack(push, 1)
  600.     System::Word iErrCode;
  601.     DelayUpdErrOpType eDelayUpdOpType;
  602.     System::Word iRecBufSize;
  603.     void *pNewRecBuf;
  604.     void *pOldRecBuf;
  605. #pragma pack(pop)
  606. } ;
  607.  
  608. typedef DELAYUPDCbDesc *PDELAYUPDCbDesc;
  609.  
  610. enum RESTErrObjType { restrNONE, restrNEWFLD, restrOLDFLD, restrNEWINDEX, restrOLDINDEX, restrNEWVCHK, 
  611.     restrOLDVCHK, restrNEWRINT, restrOLDRINT, restrNEWSEC, restrOLDSEC, restrNEWTABLE };
  612.  
  613. struct TCBDBLogin;
  614. typedef TCBDBLogin *pCBDBLogin;
  615.  
  616. struct TCBDBLogin
  617. {
  618.     System::Char szDbName[32];
  619.     DBIOpenMode eOpenMode;
  620.     DBIShareMode eShareMode;
  621.     System::Char szPassword[32];
  622.     System::LongBool bCallbackToClose;
  623.     _hDBIObj *hDb;
  624. } ;
  625.  
  626. typedef System::Integer *pTRACECat;
  627.  
  628. typedef System::Integer TRACECat;
  629.  
  630. struct TRACEDesc;
  631. typedef TRACEDesc *pTRACEDesc;
  632.  
  633. struct TRACEDesc
  634. {
  635.     System::Integer eTraceCat;
  636.     System::Word uTotalMsgLen;
  637.     System::Char pszTrace[1];
  638. } ;
  639.  
  640. struct TuObjDesc
  641. {
  642.     
  643.     union
  644.     {
  645.         SECDesc secDesc;
  646.         RINTDesc rintDesc;
  647.         VCHKDesc vchkDesc;
  648.         IDXDesc idxDesc;
  649.         FLDDesc fldDesc;
  650.         
  651.     };
  652. } ;
  653.  
  654. struct RESTCbDesc
  655. {
  656.     
  657. #pragma pack(push, 1)
  658.     System::Word iErrCode;
  659.     System::Word iTblNum;
  660.     System::Word iObjNum;
  661.     RESTErrObjType eRestrObjType;
  662.     TuObjDesc uObjDesc;
  663. #pragma pack(pop)
  664. } ;
  665.  
  666. struct CBEntry
  667. {
  668.     System::Char szKeyWord[32];
  669.     System::Char szHelp[128];
  670. } ;
  671.  
  672. enum CBInputId { cbiFILLER, cbiMDXMISSING, cbiPDXLOOKUP, cbiPDXBLOB, cbiDBTMISSING, cbiDRINPUT };
  673.  
  674. struct CBInputDesc;
  675. typedef CBInputDesc *PCBInputDesc;
  676.  
  677. struct CBInputDesc
  678. {
  679.     CBInputId eCbInputId;
  680.     System::Smallint iCount;
  681.     System::Smallint iSelection;
  682.     System::WordBool bSave;
  683.     System::Char szMsg[128];
  684.     CBEntry acbEntry[4];
  685. } ;
  686.  
  687. struct CBLoginDesc
  688. {
  689.     System::Char szUserName[32];
  690.     System::Char szGroupName[32];
  691.     System::Char szUserPassword[32];
  692. } ;
  693.  
  694. typedef CBLoginDesc *pCBLoginDesc;
  695.  
  696. enum CBSCType { cbscRETURN, cbscSQL };
  697.  
  698. typedef CBSCType *PCBSCType;
  699.  
  700. enum CBYieldStep { cbYieldFirst, cbYieldContinue, cbYieldLast };
  701.  
  702. typedef CBYieldStep *PCBYieldStep;
  703.  
  704. enum DBIQryLang { qrylangUNKNOWN, qrylangQBE, qrylangSQL };
  705.  
  706. typedef System::Integer eINDValues;
  707.  
  708. enum STMTParamType { paramUNKNOWN, paramIN, paramOUT, paramINOUT, paramRET };
  709.  
  710. enum STMTParamFormat { paramfmtUNKNOWN, paramfmtNUMBER, paramfmtNAME };
  711.  
  712. struct FMTNumber;
  713. typedef FMTNumber *pFMTNumber;
  714.  
  715. struct FMTNumber
  716. {
  717.     System::Char cDecimalSeparator;
  718.     System::Char cThousandSeparator;
  719.     System::Byte iDecimalDigits;
  720.     System::Boolean bLeadingZero;
  721. } ;
  722.  
  723. struct FMTDate;
  724. typedef FMTDate *pFMTDate;
  725.  
  726. struct FMTDate
  727. {
  728.     System::Char szDateSeparator[4];
  729.     System::Byte iDateMode;
  730.     System::Boolean bFourDigitYear;
  731.     System::Boolean bYearBiased;
  732.     System::Boolean bMonthLeadingZero;
  733.     System::Boolean bDayLeadingZero;
  734. } ;
  735.  
  736. struct FMTTime;
  737. typedef FMTTime *pFMTTime;
  738.  
  739. struct FMTTime
  740. {
  741.     System::Char cTimeSeparator;
  742.     System::Boolean bTwelveHour;
  743.     System::Char szAmString[6];
  744.     System::Char szPmString[6];
  745.     System::Boolean bSeconds;
  746.     System::Boolean bMilSeconds;
  747. } ;
  748.  
  749. struct FMTBcd;
  750. typedef FMTBcd *pFMTBcd;
  751.  
  752. struct FMTBcd
  753. {
  754.     System::Byte iPrecision;
  755.     System::Byte iSignSpecialPlaces;
  756.     System::Byte iFraction[32];
  757. } ;
  758.  
  759. struct DBIErrInfo;
  760. typedef DBIErrInfo *pDBIErrInfo;
  761.  
  762. struct DBIErrInfo
  763. {
  764.     System::Word iError;
  765.     System::Char szErrCode[128];
  766.     System::Char szContext[4][128];
  767. } ;
  768.  
  769. struct DBDesc
  770. {
  771.     System::Char szName[32];
  772.     System::Char szText[32];
  773.     System::Char szPhyName[261];
  774.     System::Char szDbType[32];
  775. } ;
  776.  
  777. typedef DBDesc *pDBDesc;
  778.  
  779. struct USERDesc;
  780. typedef USERDesc *pUSERDesc;
  781.  
  782. struct USERDesc
  783. {
  784.     
  785. #pragma pack(push, 1)
  786.     System::Char szUserName[15];
  787.     System::Word iNetSession;
  788.     System::Word iProductClass;
  789.     System::Char szSerialNum[22];
  790. #pragma pack(pop)
  791. } ;
  792.  
  793. struct TBLBaseDesc;
  794. typedef TBLBaseDesc *pTBLBaseDesc;
  795.  
  796. struct TBLBaseDesc
  797. {
  798.     
  799. #pragma pack(push, 1)
  800.     System::Char szName[261];
  801.     System::Char szFileName[261];
  802.     System::Char szExt[4];
  803.     System::Char szType[32];
  804.     System::Longint dtDate;
  805.     System::Longint tmTime;
  806.     System::Longint iSize;
  807.     System::WordBool bView;
  808.     System::WordBool bSynonym;
  809. #pragma pack(pop)
  810. } ;
  811.  
  812. struct TBLExtDesc;
  813. typedef TBLExtDesc *pTBLExtDesc;
  814.  
  815. struct TBLExtDesc
  816. {
  817.     System::Char szStruct[32];
  818.     System::Word iRestrVersion;
  819.     System::Word iRecSize;
  820.     System::Word iFields;
  821.     System::Word iIndexes;
  822.     System::Word iValChecks;
  823.     System::Word iRintChecks;
  824.     System::Longint iRecords;
  825.     System::WordBool bProtected;
  826.     System::WordBool bValidInfo;
  827. } ;
  828.  
  829. struct TBLFullDesc
  830. {
  831.     
  832. #pragma pack(push, 1)
  833.     TBLBaseDesc tblBase;
  834.     TBLExtDesc tblExt;
  835. #pragma pack(pop)
  836. } ;
  837.  
  838. typedef TBLFullDesc *pTBLFullDesc;
  839.  
  840. struct FILEDesc;
  841. typedef FILEDesc *pFILEDesc;
  842.  
  843. struct FILEDesc
  844. {
  845.     
  846. #pragma pack(push, 1)
  847.     System::Char szFileName[261];
  848.     System::Char szExt[4];
  849.     System::WordBool bDir;
  850.     System::Longint iSize;
  851.     System::Longint dtDate;
  852.     System::Longint tmTime;
  853. #pragma pack(pop)
  854. } ;
  855.  
  856. struct SPDesc
  857. {
  858.     
  859. #pragma pack(push, 1)
  860.     System::Char szName[65];
  861.     System::Longint dtDate;
  862.     System::Longint tmTime;
  863. #pragma pack(pop)
  864. } ;
  865.  
  866. typedef SPDesc *pSPDesc;
  867.  
  868. struct SPParamDesc;
  869. typedef SPParamDesc *pSPParamDesc;
  870.  
  871. struct SPParamDesc
  872. {
  873.     
  874. #pragma pack(push, 1)
  875.     System::Word uParamNum;
  876.     System::Char szName[32];
  877.     STMTParamType eParamType;
  878.     System::Word uFldType;
  879.     System::Word uSubType;
  880.     System::Smallint iUnits1;
  881.     System::Smallint iUnits2;
  882.     System::Word uOffset;
  883.     System::Word uLen;
  884.     System::Word uNullOffset;
  885. #pragma pack(pop)
  886. } ;
  887.  
  888. enum DBISTDFuncs { fnAVG, fnCOUNT, fnMIN, fnMAX, fnSUM, fnSTDDEV, fnVARIANCE, fnABS, fnCEIL, fnCOS, 
  889.     fnCOSH, fnEXP, fnFLOOR, fnLN, fnLOG, fnMOD, fnPOWER, fnROUND, fnSIGN, fnSIN, fnSINH, fnSQRT, fnTAN, 
  890.     fnTANH, fnTRUNC, fnCHR, fnCONCAT, fnINITCAP, fnLOWER, fnLPAD, fnLTRIM, fnNLS_INITCAP, fnNLS_LOWER, 
  891.     fnNLS_UPPER, fnREPLACE, fnRPAD, fnRTRIM, fnSOUNDEX, fnSUBSTR, fnSUBSTRB, fnTRANSLATE, fnUPPER, fnASCII, 
  892.     fnINSTR, fnINSTRB, fnLENGTH, fnLENGTHB, fnNLSSORT, fnADD_MONTHS, fnLAST_DAY, fnMONTHS_BETWEEN, fnNEW_TIME, 
  893.     fnNEXT_DAY, fnSYSDATE, fnCONVERT, fnTO_CHAR, fnTO_DATE, fnTO_MULTI_BYTE, fnTO_NUMBER, fnTO_SINGLE_BYTE, 
  894.     fnUID, fnUSER, fnORACLEMISC, fnACOS, fnASIN, fnATAN, fnATN2, fnCOT, fnDEGREES, fnLOG10, fnPI, fnRADIANS, 
  895.     fnRAND, fnTEXTPTR, fnTEXTVALID, fnCHARINDEX, fnDIFFERENCE, fnPATINDEX, fnREPLICATE, fnREVERSE, fnRIGHT, 
  896.     fnSPACE, fnSTR, fnSTUFF, fnCOL_NAME, fnCOL_LENGTH, fnDATALENGTH, fnDB_ID, fnDB_NAME, fnHOST_ID, fnHOST_NAME, 
  897.     fnINDEX_COL, fnOBJECT_ID, fnOBJECT_NAME, fnUSER_ID, fnUSER_NAME, fnLEFT, fnLOCATE, fnTRUNCATE, fnCURTIME, 
  898.     fnDAYNAME, fnDAYOFMONTH, fnDAYOFWEEK, fnDAYOFYEAR, fnHOUR, fnMINUTE, fnMONTH, fnMONTHNAME, fnNOW, fnQUARTER, 
  899.     fnSECOND, fnWEEK, fnYEAR };
  900.  
  901. typedef System::Integer DBIFuncFlags;
  902.  
  903. enum DBIFUNCOpts { fnDummy, fnListINCL_USER_DEF };
  904.  
  905. struct DBIFUNCDesc;
  906. typedef DBIFUNCDesc *pDBIFUNCDesc;
  907.  
  908. struct DBIFUNCDesc
  909. {
  910.     
  911. #pragma pack(push, 1)
  912.     System::Char szName[32];
  913.     System::Char szDesc[255];
  914.     System::Word uOverload;
  915.     DBISTDFuncs eStdFn;
  916. #pragma pack(pop)
  917. } ;
  918.  
  919. struct DBIFUNCArgDesc
  920. {
  921.     System::Word uArgNum;
  922.     System::Word uFldType;
  923.     System::Word uSubType;
  924.     System::Word ufuncFlags;
  925. } ;
  926.  
  927. typedef DBIFUNCArgDesc *pDBIFUNCArgDesc;
  928.  
  929. enum CFGMode { cfgPersistent, cfgSession, cfgAll };
  930.  
  931. struct CFGDesc;
  932. typedef CFGDesc *pCFGDesc;
  933.  
  934. struct CFGDesc
  935. {
  936.     System::Char szNodeName[32];
  937.     System::Char szDescription[128];
  938.     System::Word iDataType;
  939.     System::Char szValue[128];
  940.     System::WordBool bHasSubnodes;
  941. } ;
  942.  
  943. enum FMLType { fmlUNKNOWN, fmlTABLE, fmlINDEX, fmlFORM, fmlREPORT, fmlVALCHECK, fmlSECINDEX, fmlSECINDEX2, 
  944.     fmlBLOBFILE };
  945.  
  946. typedef FMLType *pFMLType;
  947.  
  948. struct FMLDesc
  949. {
  950.     
  951. #pragma pack(push, 1)
  952.     System::Char szName[32];
  953.     System::Word iId;
  954.     FMLType eType;
  955.     System::Char szFileName[261];
  956. #pragma pack(pop)
  957. } ;
  958.  
  959. typedef FMLDesc *pFMLDesc;
  960.  
  961. struct LDDesc
  962. {
  963.     System::Char szName[32];
  964.     System::Char szDesc[32];
  965.     System::Word iCodePage;
  966.     System::Word PrimaryCpPlatform;
  967.     System::Word AlternateCpPlatform;
  968. } ;
  969.  
  970. typedef LDDesc *pLDDesc;
  971.  
  972. struct LOCKDesc
  973. {
  974.     
  975. #pragma pack(push, 1)
  976.     System::Word iType;
  977.     System::Char szUserName[15];
  978.     System::Word iNetSession;
  979.     System::Word iSession;
  980.     System::Longint iRecNum;
  981.     System::Word iInfo;
  982. #pragma pack(pop)
  983. } ;
  984.  
  985. typedef LOCKDesc *pLOCKDesc;
  986.  
  987. enum CANOp { canNOTDEFINED, canISBLANK, canNOTBLANK, canEQ, canNE, canGT, canLT, canGE, canLE, canNOT, 
  988.     canAND, canOR, canTUPLE2, canFIELD2, canCONST2, canMINUS, canADD, canSUB, canMUL, canDIV, canMOD, canREM, 
  989.     canSUM, canCOUNT, canMIN, canMAX, canAVG, canCONT, canUDF2, canCONTINUE2, canLIKE };
  990.  
  991. typedef CANOp *pCANOp;
  992.  
  993. enum NODEClass { nodeNULL, nodeUNARY, nodeBINARY, nodeCOMPARE, nodeFIELD, nodeCONST, nodeTUPLE, nodeCONTINUE, 
  994.     nodeUDF };
  995.  
  996. struct CANHdr
  997. {
  998.     NODEClass nodeClass;
  999.     CANOp canOp;
  1000. } ;
  1001.  
  1002. typedef CANHdr *pCANHdr;
  1003.  
  1004. struct CANUnary
  1005. {
  1006.     NODEClass nodeClass;
  1007.     CANOp canOp;
  1008.     System::Word iOperand1;
  1009. } ;
  1010.  
  1011. typedef CANUnary *pCANUnary;
  1012.  
  1013. struct CANBinary
  1014. {
  1015.     NODEClass nodeClass;
  1016.     CANOp canOp;
  1017.     System::Word iOperand1;
  1018.     System::Word iOperand2;
  1019. } ;
  1020.  
  1021. typedef CANBinary *pCANBinary;
  1022.  
  1023. struct CANField
  1024. {
  1025.     NODEClass nodeClass;
  1026.     CANOp canOp;
  1027.     System::Word iFieldNum;
  1028.     System::Word iNameOffset;
  1029. } ;
  1030.  
  1031. typedef CANField *pCANField;
  1032.  
  1033. struct CANConst
  1034. {
  1035.     NODEClass nodeClass;
  1036.     CANOp canOp;
  1037.     System::Word iType;
  1038.     System::Word iSize;
  1039.     System::Word iOffset;
  1040. } ;
  1041.  
  1042. typedef CANConst *pCANConst;
  1043.  
  1044. struct CANTuple
  1045. {
  1046.     NODEClass nodeClass;
  1047.     CANOp canOp;
  1048.     System::Word iSize;
  1049. } ;
  1050.  
  1051. typedef CANTuple *pCANTuple;
  1052.  
  1053. struct CANContinue
  1054. {
  1055.     NODEClass nodeClass;
  1056.     CANOp canOp;
  1057.     System::Word iContOperand;
  1058. } ;
  1059.  
  1060. typedef CANContinue *pCANContinue;
  1061.  
  1062. struct CANCompare;
  1063. typedef CANCompare *pCANCompare;
  1064.  
  1065. struct CANCompare
  1066. {
  1067.     NODEClass nodeClass;
  1068.     CANOp canOp;
  1069.     System::WordBool bCaseInsensitive;
  1070.     System::Word iPartialLen;
  1071.     System::Word iOperand1;
  1072.     System::Word iOperand2;
  1073. } ;
  1074.  
  1075. struct CANUdf
  1076. {
  1077.     NODEClass nodeClass;
  1078.     CANOp canOp;
  1079.     System::Word iOffSzFuncName;
  1080.     System::Word iOperands;
  1081.     System::Word iDrvDialect;
  1082.     System::Word iOffSzUDF;
  1083. } ;
  1084.  
  1085. typedef CANUdf *pCANUdf;
  1086.  
  1087. struct CANNode
  1088. {
  1089.     
  1090.     union
  1091.     {
  1092.         CANCompare canCompare;
  1093.         CANContinue canContinue;
  1094.         CANTuple canTuple;
  1095.         CANConst canConst;
  1096.         CANField canField;
  1097.         CANBinary canBinary;
  1098.         CANUnary canUnary;
  1099.         CANHdr canHdr;
  1100.         
  1101.     };
  1102. } ;
  1103.  
  1104. typedef CANNode *pCANNode;
  1105.  
  1106. struct CANExpr
  1107. {
  1108.     System::Word iVer;
  1109.     System::Word iTotalSize;
  1110.     System::Word iNodes;
  1111.     System::Word iNodeStart;
  1112.     System::Word iLiteralStart;
  1113. } ;
  1114.  
  1115. typedef CANExpr *pCANExpr;
  1116.  
  1117. typedef pCANExpr *ppCANExpr;
  1118.  
  1119. typedef System::Smallint __stdcall (*pfGENFilter)(System::Longint ulClientData, System::Pointer pRecBuf
  1120.     , System::Longint iPhyRecNum);
  1121.  
  1122. struct FILTERInfo;
  1123. typedef FILTERInfo *pFILTERInfo;
  1124.  
  1125. struct FILTERInfo
  1126. {
  1127.     
  1128. #pragma pack(push, 1)
  1129.     System::Word iFilterId;
  1130.     _hDBIObj *hFilter;
  1131.     System::Longint iClientData;
  1132.     System::Word iPriority;
  1133.     System::WordBool bCanAbort;
  1134.     pfGENFilter pfFilter;
  1135.     void *pCanExpr;
  1136.     System::WordBool bActive;
  1137. #pragma pack(pop)
  1138. } ;
  1139.  
  1140. struct DBIQryProp;
  1141. typedef DBIQryProp *pDBIQryProp;
  1142.  
  1143. struct DBIQryProp
  1144. {
  1145.     System::Char szQryName[32];
  1146.     DBIQryLang eLang;
  1147.     System::Smallint iQryPrice;
  1148.     System::Smallint iNumTables;
  1149.     System::WordBool bHasAnswer;
  1150.     System::WordBool bInsert;
  1151.     System::WordBool bDelete;
  1152.     System::WordBool bChange;
  1153. } ;
  1154.  
  1155. enum DBIQryType { dbiqryDEFAULT, dbiqryDIRTY, dbiqryCLEAN, dbiqryRESTART };
  1156.  
  1157. struct DBIQryProgress
  1158. {
  1159.     System::Word stepsInQry;
  1160.     System::Word stepsCompleted;
  1161.     System::Longint totElemInStep;
  1162.     System::Longint elemCompleted;
  1163. } ;
  1164.  
  1165. typedef DBIQryProgress *pDBIQryProgress;
  1166.  
  1167. enum QryEvalMode { qryModeNONE, qryModeLOCAL, qryModeSERVER, qryModeEITHER, qryModeNOWLOCAL };
  1168.  
  1169. enum LIVENESS { wantDEFAULT, wantLIVE, wantCANNED, wantSPEED };
  1170.  
  1171. struct QueryLowProps;
  1172. typedef QueryLowProps *pQueryLowProps;
  1173.  
  1174. struct QueryLowProps
  1175. {
  1176.     
  1177. #pragma pack(push, 1)
  1178.     System::Smallint length;
  1179.     System::WordBool blankzeroes;
  1180.     FMTDate dateFormat;
  1181.     FMTNumber numberFormat;
  1182.     System::WordBool bNeedAuxTbls;
  1183.     QryEvalMode qryMode;
  1184.     System::WordBool perQrySqlMode;
  1185.     LIVENESS livenessDesired;
  1186. #pragma pack(pop)
  1187. } ;
  1188.  
  1189. struct STMTBaseDesc;
  1190. typedef STMTBaseDesc *PSTMTBaseDesc;
  1191.  
  1192. struct STMTBaseDesc
  1193. {
  1194.     
  1195. #pragma pack(push, 1)
  1196.     System::Char szDatabase[32];
  1197.     System::Char szTableName[261];
  1198.     System::Char szFieldName[32];
  1199.     System::LongBool bExpression;
  1200.     System::LongBool bAggregate;
  1201. #pragma pack(pop)
  1202. } ;
  1203.  
  1204. struct TOSBLObj
  1205. {
  1206.     
  1207. #pragma pack(push, 1)
  1208.     System::Smallint LangId;
  1209.     System::Char LdName[20];
  1210.     System::Char EnglishDesc[32];
  1211.     System::Char LdDescriptor[20];
  1212.     void *LocaleHdl;
  1213.     System::Smallint CodeSet;
  1214.     System::Smallint LocaleType;
  1215.     System::Smallint LanguageSortType;
  1216.     System::Smallint LocaleCount;
  1217.     System::Smallint PrimaryCpPlatform;
  1218.     System::Word PrimaryCodePageID;
  1219.     System::Word AlternateCodePageID;
  1220.     System::Word ProductID;
  1221.     System::LongBool NoConversions;
  1222.     System::Integer LdLCID;
  1223. #pragma pack(pop)
  1224. } ;
  1225.  
  1226. struct DRDesc;
  1227. typedef DRDesc *pDRDesc;
  1228.  
  1229. struct DRDesc
  1230. {
  1231.     
  1232. #pragma pack(push, 1)
  1233.     System::Char szDRName[32];
  1234.     System::Char szDRDescText[128];
  1235.     System::Char szDRDbName[32];
  1236.     System::Char szDRDbDir[261];
  1237.     System::Char szDRTableName[32];
  1238.     System::Char szLdName[32];
  1239.     System::Longint aulReserved[10];
  1240. #pragma pack(pop)
  1241. } ;
  1242.  
  1243. struct DROBJDesc;
  1244. typedef DROBJDesc *pDROBJDesc;
  1245.  
  1246. struct DROBJDesc
  1247. {
  1248.     
  1249. #pragma pack(push, 1)
  1250.     System::Char szObjTypeName[32];
  1251.     System::Char szObjRealName[32];
  1252.     System::Longint ulObjId;
  1253.     System::Word iVersion;
  1254.     System::Longint aulReserved[10];
  1255. #pragma pack(pop)
  1256. } ;
  1257.  
  1258. typedef DROBJDesc TDROBJDescList[1024];
  1259.  
  1260. typedef TDROBJDescList *PDROBJDescList;
  1261.  
  1262. struct DRExportDesc;
  1263. typedef DRExportDesc *pDRExportDesc;
  1264.  
  1265. struct DRExportDesc
  1266. {
  1267.     
  1268. #pragma pack(push, 1)
  1269.     DROBJDesc objDesc;
  1270.     System::LongBool bInclRelated;
  1271.     System::Longint aulReserved[4];
  1272. #pragma pack(pop)
  1273. } ;
  1274.  
  1275. struct DROBJType;
  1276. typedef DROBJType *pDROBJType;
  1277.  
  1278. struct DROBJType
  1279. {
  1280.     System::Char szObjTypeName[32];
  1281.     System::Word iNumAttr;
  1282.     System::Word iNumRel;
  1283.     System::Longint ulObjFlag;
  1284.     System::Char szObjTypeDesc[128];
  1285.     System::Char szObjTypeDisplayName[32];
  1286.     System::Longint aulReserved[10];
  1287. } ;
  1288.  
  1289. struct DBIEnumFld;
  1290. typedef DBIEnumFld *pDBIEnumFld;
  1291.  
  1292. struct DBIEnumFld
  1293. {
  1294.     System::Char szDisplayStr[32];
  1295.     System::Byte abVal[96];
  1296.     System::Longint aulReserved[10];
  1297. } ;
  1298.  
  1299. struct DREnumAttrDomain;
  1300. typedef DREnumAttrDomain *pDREnumAttrDomain;
  1301.  
  1302. struct DREnumAttrDomain
  1303. {
  1304.     
  1305. #pragma pack(push, 1)
  1306.     System::Char szEnumAttrDomainName[32];
  1307.     System::Longint ulEDProp;
  1308.     System::Word iNumVals;
  1309.     DBIEnumFld *padbiEnumFld;
  1310.     System::Longint aulReserved[10];
  1311. #pragma pack(pop)
  1312. } ;
  1313.  
  1314. struct DRATTRDesc;
  1315. typedef DRATTRDesc *pDRATTRDesc;
  1316.  
  1317. struct DRATTRDesc
  1318. {
  1319.     System::Char szAttrName[32];
  1320.     System::Char szTypeName[32];
  1321.     System::Char szAttrDomainName[32];
  1322.     System::Word iAttrType;
  1323.     System::Word iUnits1;
  1324.     System::Word iUnits2;
  1325.     System::WordBool bReqd;
  1326.     System::Longint ulAttrFlag;
  1327.     System::Char szAttrDisplayName[32];
  1328.     System::Char szAttrTypeDesc[128];
  1329.     System::Word iDisplayProp;
  1330.     System::Word iExtendedFlag;
  1331.     System::WordBool bReadOnly;
  1332.     System::Word iEditProp;
  1333.     System::Longint ulTag;
  1334.     System::Longint aulReserved[10];
  1335. } ;
  1336.  
  1337. enum eRELConstraint { eRelManyMany, eRelManyOne, eRelOneMany, eRelOneOne };
  1338.  
  1339. enum eRELCategory { eRelGENERAL, eRelCONTAINS, eRelREFERS, eRelBASEDON };
  1340.  
  1341. struct DRRELType;
  1342. typedef DRRELType *pDRRELType;
  1343.  
  1344. struct DRRELType
  1345. {
  1346.     
  1347. #pragma pack(push, 1)
  1348.     System::Char szRelTypeName[32];
  1349.     System::Char szSrcObjTypeName[32];
  1350.     System::Char szDestObjTypeName[32];
  1351.     System::Char szRevRelTypeName[32];
  1352.     System::Word iNumAttr;
  1353.     eRELConstraint eRelConstraint;
  1354.     eRELCategory eRelCategory;
  1355.     System::Char szRelTypeDisplayName[32];
  1356.     System::Char szRevRelDisplayName[32];
  1357.     System::Char szRelTypeDesc[128];
  1358.     System::Longint ulRelFlag;
  1359.     System::Longint aulReserved[10];
  1360. #pragma pack(pop)
  1361. } ;
  1362.  
  1363. struct DRObject
  1364. {
  1365.     System::Longint ulObjId;
  1366.     System::Word iVersion;
  1367. } ;
  1368.  
  1369. typedef DRObject *pDRObject;
  1370.  
  1371. //-- var, const, procedure ---------------------------------------------------
  1372. #define DBIINTFVER System::Smallint(300)
  1373. #define DBIENGVERSION System::Smallint(300)
  1374. #define DEBUGON System::Byte(1)
  1375. #define OUTPUTTOFILE System::Byte(2)
  1376. #define FLUSHEVERYOP System::Byte(8)
  1377. #define APPENDTOLOG System::Byte(16)
  1378. #define DBIMAXNAMELEN System::Byte(31)
  1379. #define DBIMAXSPNAMELEN System::Byte(64)
  1380. #define DBIMAXFUNCNAMELEN System::Byte(255)
  1381. #define DBIMAXFLDSINKEY System::Byte(16)
  1382. #define DBIMAXKEYEXPLEN System::Byte(220)
  1383. #define DBIMAXEXTLEN System::Byte(3)
  1384. #define DBIMAXTBLNAMELEN System::Smallint(260)
  1385. #define DBIMAXDRIVELEN System::Byte(127)
  1386. #define DBIMAXPATHLEN System::Smallint(260)
  1387. #define DBIMAXMSGLEN System::Byte(127)
  1388. #define DBIMAXVCHKLEN System::Byte(255)
  1389. #define DBIMAXPICTLEN System::Byte(175)
  1390. #define DBIMAXFLDSINSEC System::Smallint(256)
  1391. #define DBIMAXSCFIELDS System::Byte(32)
  1392. #define DBIMAXSCFLDLEN System::Byte(128)
  1393. #define DBIMAXSCRECSIZE System::Smallint(4096)
  1394. #define DBIMAXUSERNAMELEN System::Byte(14)
  1395. #define DBIMAXXBUSERNAMELEN System::Byte(12)
  1396. #define DBIMAXBOOKMARKLEN System::Smallint(4104)
  1397. #define DBIMAXTRACELEN System::Smallint(8192)
  1398. #define DBIMAXTYPEDESC System::Byte(127)
  1399. #define DBIMAXDRSQLSTR System::Smallint(8192)
  1400. #define szPARADOX "PARADOX"
  1401. #define szDBASE "DBASE"
  1402. #define szASCII "ASCIIDRV"
  1403. #define fldUNKNOWN System::Byte(0)
  1404. #define fldZSTRING System::Byte(1)
  1405. #define fldDATE System::Byte(2)
  1406. #define fldBLOB System::Byte(3)
  1407. #define fldBOOL System::Byte(4)
  1408. #define fldINT16 System::Byte(5)
  1409. #define fldINT32 System::Byte(6)
  1410. #define fldFLOAT System::Byte(7)
  1411. #define fldBCD System::Byte(8)
  1412. #define fldBYTES System::Byte(9)
  1413. #define fldTIME System::Byte(10)
  1414. #define fldTIMESTAMP System::Byte(11)
  1415. #define fldUINT16 System::Byte(12)
  1416. #define fldUINT32 System::Byte(13)
  1417. #define fldFLOATIEEE System::Byte(14)
  1418. #define fldVARBYTES System::Byte(15)
  1419. #define fldLOCKINFO System::Byte(16)
  1420. #define MAXLOGFLDTYPES System::Byte(17)
  1421. #define fldstMONEY System::Byte(21)
  1422. #define fldstMEMO System::Byte(22)
  1423. #define fldstBINARY System::Byte(23)
  1424. #define fldstFMTMEMO System::Byte(24)
  1425. #define fldstOLEOBJ System::Byte(25)
  1426. #define fldstGRAPHIC System::Byte(26)
  1427. #define fldstDBSOLEOBJ System::Byte(27)
  1428. #define fldstTYPEDBINARY System::Byte(28)
  1429. #define fldstPASSWORD System::Byte(1)
  1430. #define fldstAUTOINC System::Byte(29)
  1431. #define fldPDXCHAR System::Smallint(257)
  1432. #define fldPDXNUM System::Smallint(258)
  1433. #define fldPDXMONEY System::Smallint(259)
  1434. #define fldPDXDATE System::Smallint(260)
  1435. #define fldPDXSHORT System::Smallint(261)
  1436. #define fldPDXMEMO System::Smallint(262)
  1437. #define fldPDXBINARYBLOB System::Smallint(263)
  1438. #define fldPDXFMTMEMO System::Smallint(264)
  1439. #define fldPDXOLEBLOB System::Smallint(265)
  1440. #define fldPDXGRAPHIC System::Smallint(266)
  1441. #define fldPDXBLOB System::Smallint(262)
  1442. #define fldPDXLONG System::Smallint(267)
  1443. #define fldPDXTIME System::Smallint(268)
  1444. #define fldPDXDATETIME System::Smallint(269)
  1445. #define fldPDXBOOL System::Smallint(270)
  1446. #define fldPDXAUTOINC System::Smallint(271)
  1447. #define fldPDXBYTES System::Smallint(272)
  1448. #define fldPDXBCD System::Smallint(273)
  1449. #define fldPDXUNICHAR System::Smallint(274)
  1450. #define fldDBCHAR System::Smallint(513)
  1451. #define fldDBNUM System::Smallint(514)
  1452. #define fldDBMEMO System::Smallint(515)
  1453. #define fldDBBOOL System::Smallint(516)
  1454. #define fldDBDATE System::Smallint(517)
  1455. #define fldDBFLOAT System::Smallint(518)
  1456. #define fldDBLOCK System::Smallint(519)
  1457. #define fldDBOLEBLOB System::Smallint(520)
  1458. #define fldDBBINARY System::Smallint(521)
  1459. #define fldDBBYTES System::Smallint(522)
  1460. #define fldDBKEYNUM System::Smallint(528)
  1461. #define fldDBKEYBCD System::Smallint(529)
  1462. #define fldASCCHAR System::Smallint(769)
  1463. #define fldASCNUM System::Smallint(770)
  1464. #define fldASCBOOL System::Smallint(771)
  1465. #define fldASCDATE System::Smallint(772)
  1466. #define fldASCFLOAT System::Smallint(773)
  1467. #define fldASCLOCK System::Smallint(774)
  1468. #define fldASCTIMESTAMP System::Smallint(775)
  1469. #define fldASCTIME System::Smallint(776)
  1470. #define fldASCLONG System::Smallint(777)
  1471. #define fldASCMONEY System::Smallint(778)
  1472. #define TODAYVAL System::Byte(2)
  1473. #define NOWVAL System::Byte(3)
  1474. #define NOFAMRIGHTS System::Byte(0)
  1475. #define FORMRIGHTS System::Byte(1)
  1476. #define RPTRIGHTS System::Byte(2)
  1477. #define VALRIGHTS System::Byte(4)
  1478. #define SETRIGHTS System::Byte(8)
  1479. #define ALLFAMRIGHTS System::Byte(15)
  1480. #define prvNONE System::Byte(0)
  1481. #define prvREADONLY System::Byte(1)
  1482. #define prvMODIFY System::Byte(3)
  1483. #define prvINSERT System::Byte(7)
  1484. #define prvINSDEL System::Byte(15)
  1485. #define prvFULL System::Byte(31)
  1486. #define prvUNKNOWN System::Byte(255)
  1487. #define NODEFAULTINDEX System::Integer(65535)
  1488. #define TBLLEVEL3 System::Byte(3)
  1489. #define TBLLEVEL4 System::Byte(4)
  1490. #define TBLLEVEL5 System::Byte(5)
  1491. #define TBLLEVEL7 System::Byte(7)
  1492. #define FOXLEVEL25 System::Byte(25)
  1493. #define DBIDELAYUPD_SHOWMODIFYBIT System::Byte(1)
  1494. #define DBIDELAYUPD_SHOWINSERTBIT System::Byte(2)
  1495. #define DBIDELAYUPD_SHOWDELETEBIT System::Byte(4)
  1496. #define DBIDELAYUPD_SHOWNONMODIFYBIT System::Byte(8)
  1497. #define curMAXPROPS System::Integer(327680)
  1498. #define curTABLENAME System::Integer(327681)
  1499. #define curTABLETYPE System::Integer(327682)
  1500. #define curTABLELEVEL System::Integer(327683)
  1501. #define curFILENAME System::Integer(327684)
  1502. #define curXLTMODE System::Integer(327685)
  1503. #define curSEQREADON System::Integer(327686)
  1504. #define curONEPASSON System::Integer(327687)
  1505. #define curUPDATETS System::Integer(327688)
  1506. #define curSOFTDELETEON System::Integer(327689)
  1507. #define curLANGDRVNAME System::Integer(327690)
  1508. #define curCURSORNAME System::Integer(327691)
  1509. #define maxcurPROPS System::Byte(11)
  1510. #define curPDXMAXPROPS System::Integer(17104896)
  1511. #define maxcurPDXPROPS System::Byte(0)
  1512. #define curDBMAXPROPS System::Integer(33882112)
  1513. #define curINEXACTON System::Integer(33882113)
  1514. #define curSHAREMODE System::Integer(33882114)
  1515. #define maxcurDBPROPS System::Byte(2)
  1516. #define curDELIMITALLFLDS System::Integer(50659328)
  1517. #define curUSESCHEMAFILE System::Integer(50659329)
  1518. #define curUPDLOCKMODE System::Integer(67436544)
  1519. #define curNATIVEHNDL System::Integer(67436545)
  1520. #define curMAXROWS System::Integer(67436546)
  1521. #define curDELAYUPDRECSTATE System::Integer(84213761)
  1522. #define curDELAYUPDABORTRESTORE System::Integer(84213762)
  1523. #define curDELAYUPDDISPLAYOPT System::Integer(84213763)
  1524. #define curDELAYUPDGETOLDRECORD System::Integer(84213764)
  1525. #define curDELAYUPDNUMUPDATES System::Integer(84213765)
  1526. #define curDELAYUPDUSECALLBACK System::Integer(84213766)
  1527. #define drvMAXPROPS System::Integer(196608)
  1528. #define drvDRIVERTYPE System::Integer(196610)
  1529. #define drvDRIVERVERSION System::Integer(196611)
  1530. #define maxdrvPROPS System::Byte(2)
  1531. #define dbMAXPROPS System::Integer(262144)
  1532. #define dbDATABASENAME System::Integer(262145)
  1533. #define dbDATABASETYPE System::Integer(262146)
  1534. #define dbDEFAULTDRIVER System::Integer(262147)
  1535. #define dbPARAMFMTQMARK System::Integer(262148)
  1536. #define dbUSESCHEMAFILE System::Integer(262149)
  1537. #define maxdbPROPS System::Byte(16)
  1538. #define dbASYNCSUPPORT System::Integer(67371008)
  1539. #define dbPROCEDURES System::Integer(67371009)
  1540. #define dbDEFAULTTXNISO System::Integer(67371010)
  1541. #define dbNATIVEHNDL System::Integer(67371011)
  1542. #define dbNATIVEPASSTHRUHNDL System::Integer(67371012)
  1543. #define dbSERVERVERSION System::Integer(67371013)
  1544. #define dbBATCHCOUNT System::Integer(67371014)
  1545. #define dbTRACEMODE System::Integer(67371015)
  1546. #define dbCURRENTUSERNAME System::Integer(67371016)
  1547. #define dbOWNERQUALIFIED System::Integer(67371017)
  1548. #define dbQUOTECHAR System::Integer(67371018)
  1549. #define dbSCHEMACACHEENABLED System::Integer(67371161)
  1550. #define dbBCDENABLED System::Integer(67371162)
  1551. #define sesMAXPROPS System::Integer(131072)
  1552. #define sesSESSIONNAME System::Integer(131073)
  1553. #define sesNETFILE System::Integer(131074)
  1554. #define sesCFGMODE System::Integer(131075)
  1555. #define sesDEFAULTDRIVER System::Integer(131076)
  1556. #define sesGROUPNAME System::Integer(131077)
  1557. #define sesUSERNAME System::Integer(131078)
  1558. #define sesUSERPASSWORD System::Integer(131079)
  1559. #define sesSECFILENAME System::Integer(131080)
  1560. #define sesDRNAME System::Integer(131081)
  1561. #define maxsesPROPS System::Byte(9)
  1562. #define sysMAXPROPS System::Integer(65536)
  1563. #define sysLOWMEMUSAGE System::Integer(65537)
  1564. #define maxsysPROPS System::Byte(1)
  1565. #define stmtMAXPROPS System::Integer(393217)
  1566. #define stmtPARAMETERCOUNT System::Integer(393218)
  1567. #define stmtPARAMETERDESCS System::Integer(393219)
  1568. #define stmtLANGDRVNAME System::Integer(393220)
  1569. #define stmtUNIDIRECTIONAL System::Integer(393232)
  1570. #define stmtCURSORNAME System::Integer(393233)
  1571. #define stmtNEWCONNECT System::Integer(393234)
  1572. #define stmtNATIVEHNDL System::Integer(393235)
  1573. #define stmtROWCOUNT System::Integer(393236)
  1574. #define maxstmtPROPS System::Byte(31)
  1575. #define stmtANSTYPE System::Integer(393248)
  1576. #define stmtLIVENESS System::Integer(393249)
  1577. #define stmtQRYMODE System::Integer(393250)
  1578. #define stmtBLANKS System::Integer(393251)
  1579. #define stmtDATEFORMAT System::Integer(393252)
  1580. #define stmtNUMBERFORMAT System::Integer(393253)
  1581. #define stmtAUXTBLS System::Integer(393254)
  1582. #define stmtTBLVECTOR System::Integer(393255)
  1583. #define stmtALLPROPS System::Integer(393256)
  1584. #define stmtALLPROPSSIZE System::Integer(393257)
  1585. #define stmtANSNAME System::Integer(393264)
  1586. #define stmtCONSTRAINED System::Integer(393265)
  1587. #define stmtFIELDDESCS System::Integer(393266)
  1588. #define stmtCURPROPS System::Integer(393267)
  1589. #define stmtDEFDBNAME System::Integer(393268)
  1590. #define stmtXLTMODE System::Integer(393269)
  1591. #define stmtINSTBLNAME System::Integer(393270)
  1592. #define stmtINSERRTBLNAME System::Integer(393271)
  1593. #define stmtUPDTBLNAME System::Integer(393272)
  1594. #define stmtUPDERRTBLNAME System::Integer(393273)
  1595. #define stmtDELTBLNAME System::Integer(393280)
  1596. #define stmtDELERRTBLNAME System::Integer(393281)
  1597. #define stmtCANNEDREADONLY System::Integer(393282)
  1598. #define CMPLess System::Shortint(-1)
  1599. #define CMPEql System::Byte(0)
  1600. #define CMPGtr System::Byte(1)
  1601. #define CMPKeyEql System::Byte(2)
  1602. #define traceUNKNOWN System::Byte(0)
  1603. #define traceQPREPARE System::Byte(1)
  1604. #define traceQEXECUTE System::Byte(2)
  1605. #define traceERROR System::Byte(4)
  1606. #define traceSTMT System::Byte(8)
  1607. #define traceCONNECT System::Byte(16)
  1608. #define traceTRANSACT System::Byte(32)
  1609. #define traceBLOB System::Byte(64)
  1610. #define traceMISC System::Byte(128)
  1611. #define traceVENDOR System::Smallint(256)
  1612. #define MAXCBENTRIES System::Byte(4)
  1613. #define indTRUNC System::Shortint(-2)
  1614. #define indNULL System::Shortint(-1)
  1615. #define indVALUE System::Byte(1)
  1616. #define INDLEN System::Integer(2)
  1617. #define qprepNONE System::Byte(0)
  1618. #define qprepFORUPDATE System::Byte(1)
  1619. #define ecTOKEN System::Byte(1)
  1620. #define ecTABLENAME System::Byte(3)
  1621. #define ecFIELDNAME System::Byte(4)
  1622. #define ecIMAGEROW System::Byte(5)
  1623. #define ecUSERNAME System::Byte(6)
  1624. #define ecFILENAME System::Byte(7)
  1625. #define ecINDEXNAME System::Byte(8)
  1626. #define ecDIRNAME System::Byte(9)
  1627. #define ecKEYNAME System::Byte(10)
  1628. #define ecALIAS System::Byte(11)
  1629. #define ecDRIVENAME System::Byte(12)
  1630. #define ecNATIVECODE System::Byte(13)
  1631. #define ecNATIVEMSG System::Byte(14)
  1632. #define ecLINENUMBER System::Byte(15)
  1633. #define ecCAPABILITY System::Byte(16)
  1634. #define ecCDRNAME System::Byte(17)
  1635. #define ecUSERERRMSG System::Byte(18)
  1636. #define ecDROBJNAME System::Byte(19)
  1637. #define ecINTERNALLIMIT System::Byte(20)
  1638. #define fnSCALARS_ALLOW_CONSTANTS System::Byte(1)
  1639. #define fnSCALARS_ALLOW_PARAMETERS System::Byte(4)
  1640. #define fnSCALARS_ALLOW_FUNCTIONS System::Byte(8)
  1641. #define fnSCALARS_ALLOW_USER_DEFINED_FUNCS System::Byte(16)
  1642. #define fnSCALARS_ALLOW_SUBQUERIES System::Byte(32)
  1643. #define fnSCALARS_ALLOW_CORRELATION System::Byte(64)
  1644. #define DBIOEM_CP System::Byte(1)
  1645. #define DBIANSI_CP System::Byte(2)
  1646. #define DBIOS2_CP System::Byte(3)
  1647. #define DBISUNOS_CP System::Byte(4)
  1648. #define DBIVMS_CP System::Byte(5)
  1649. #define DBIHPUX_CP System::Byte(6)
  1650. #define DBIULTRIX_CP System::Byte(7)
  1651. #define DBIAIX_CP System::Byte(8)
  1652. #define DBIAUX_CP System::Byte(9)
  1653. #define DBIXENIX_CP System::Byte(10)
  1654. #define DBIMAC_CP System::Byte(11)
  1655. #define DBINEXT_CP System::Byte(12)
  1656. #define lckRECLOCK System::Byte(0)
  1657. #define lckRRECLOCK System::Byte(1)
  1658. #define lckGROUPLOCK System::Byte(2)
  1659. #define lckIMGAREA System::Byte(3)
  1660. #define lckTABLEREG System::Byte(4)
  1661. #define lckTABLEREAD System::Byte(5)
  1662. #define lckTABLEWRITE System::Byte(6)
  1663. #define lckTABLEEXCL System::Byte(7)
  1664. #define lckUNKNOWN System::Byte(9)
  1665. #define iLangSQL System::Byte(0)
  1666. #define iDbaseExpr System::Byte(2)
  1667. #define CANEXPRVERSION System::Byte(2)
  1668. #define ABORT System::Shortint(-2)
  1669. #define MAXQBEEXPRSIZE System::Smallint(300)
  1670. #define DBIQBE_ANSWERBIT System::Byte(1)
  1671. #define DBIQBE_INSERTEDBIT System::Byte(2)
  1672. #define DBIQBE_DELETEDBIT System::Byte(4)
  1673. #define DBIQBE_CHANGEDBIT System::Byte(8)
  1674. #define DBIQBE_ERRORINSBIT System::Byte(16)
  1675. #define DBIQBE_ERRORDELBIT System::Byte(32)
  1676. #define DBIQBE_ERRORCHGBIT System::Byte(64)
  1677. #define bAnsHasLiveFields System::Byte(1)
  1678. #define bAnsHasFilter System::Byte(2)
  1679. #define bAnsHasFieldMap System::Byte(4)
  1680. #define bAnsHasCalcField System::Byte(8)
  1681. #define bAnsHasLiveBlob System::Byte(16)
  1682. #define bIsAnsFieldLive System::Byte(1)
  1683. #define DBIMOD_BEGIN System::Smallint(16128)
  1684. #define DBIMOD_QBE System::Smallint(16129)
  1685. #define DBIMOD_SQLG System::Smallint(16130)
  1686. #define DBIMOD_LEGO System::Smallint(16131)
  1687. #define DBIMOD_LOCKMNGR System::Smallint(16132)
  1688. #define DBIMOD_SQLDRIVER System::Smallint(16133)
  1689. #define DBIMOD_OS System::Smallint(16134)
  1690. #define DBIMOD_DBASEDRV System::Smallint(16135)
  1691. #define DBIMOD_CDR System::Smallint(16136)
  1692. #define DBIMOD_END System::Smallint(16137)
  1693. #define DBISYM_BEGIN System::Smallint(16138)
  1694. #define DBISYM_TOKEN System::Smallint(16139)
  1695. #define DBISYM_TABLENAME System::Smallint(16141)
  1696. #define DBISYM_FIELDNAME System::Smallint(16142)
  1697. #define DBISYM_IMAGEROW System::Smallint(16143)
  1698. #define DBISYM_USERNAME System::Smallint(16144)
  1699. #define DBISYM_FILENAME System::Smallint(16145)
  1700. #define DBISYM_INDEXNAME System::Smallint(16146)
  1701. #define DBISYM_DIRNAME System::Smallint(16147)
  1702. #define DBISYM_KEYNAME System::Smallint(16148)
  1703. #define DBISYM_ALIAS System::Smallint(16149)
  1704. #define DBISYM_DRIVENAME System::Smallint(16150)
  1705. #define DBISYM_NATIVECODE System::Smallint(16151)
  1706. #define DBISYM_NATIVEMSG System::Smallint(16152)
  1707. #define DBISYM_LINENUMBER System::Smallint(16153)
  1708. #define DBISYM_CAPABILITY System::Smallint(16154)
  1709. #define DBISYM_CDRNAME System::Smallint(16155)
  1710. #define DBISYM_USERERRMSG System::Smallint(16156)
  1711. #define DBISYM_DROBJNAME System::Smallint(16157)
  1712. #define DBISYM_INTERNALLIMIT System::Smallint(16158)
  1713. #define DBISYM_BASEEND System::Smallint(16238)
  1714. #define DBISYM_MISC System::Smallint(16239)
  1715. #define DBISYM_WORK System::Smallint(16240)
  1716. #define DBISYM_PRIV System::Smallint(16241)
  1717. #define DBISYM_COPY System::Smallint(16242)
  1718. #define DBISYM_APPEND System::Smallint(16243)
  1719. #define DBISYM_END System::Smallint(32511)
  1720. #define szCFGSYSTEM "SYSTEM"
  1721. #define szCFGDRIVER "DRIVERS"
  1722. #define szCFGDATABASE "DATABASES"
  1723. #define szCFGREPOSITORY "REPOSITORIES"
  1724. #define szCFGSYSVERSION "VERSION"
  1725. #define szCFGSYSNETTYPE "NET TYPE"
  1726. #define szCFGSYSNETDIR "NET DIR"
  1727. #define szCFGSYSLOCALSHARE "LOCAL SHARE"
  1728. #define szCFGSYSLANGDRV "LANGDRIVER"
  1729. #define szCFGSYSLANGDRVDIR "LANGDRVDIR"
  1730. #define szCFGSYSMINBUF "MINBUFSIZE"
  1731. #define szCFGSYSMAXBUF "MAXBUFSIZE"
  1732. #define szCFGSYSLOCKRETRY "LOCKRETRY"
  1733. #define szCFGSYSFLAGS "SYSFLAGS"
  1734. #define szCFGMAXFILEHANDLES "MAXFILEHANDLES"
  1735. #define szCFGSQLQRYMODE "SQLQRYMODE"
  1736. #define szCFGLOWMEMLIMIT "LOW MEMORY USAGE LIMIT"
  1737. #define szCFGSYSODBCCFGIMPORT "AUTO ODBC"
  1738. #define szCFGAUTOODBC "AUTO ODBC"
  1739. #define szCFGDEFDRV "DEFAULT DRIVER"
  1740. #define szCFGSYSLOCALREPOSITORY "DATA REPOSITORY"
  1741. #define szCFGSYSSHAREDMEMSIZE "SHAREDMEMSIZE"
  1742. #define szCFGSYSSHAREDMEMLOCATION "SHAREDMEMLOCATION"
  1743. #define szCFGDRVVERSION "VERSION"
  1744. #define szCFGDRVTYPE "TYPE"
  1745. #define szCFGDRVDLL "DLL"
  1746. #define szCFGDRVDLL32 "DLL32"
  1747. #define szCFGDRVFLAGS "DRIVER FLAGS"
  1748. #define szCFGDRVLANGDRIVER "LANGDRIVER"
  1749. #define szCFGDRVFILLFACTOR "FILL FACTOR"
  1750. #define szCFGDRVBLOCKSIZE "BLOCK SIZE"
  1751. #define szCFGDRVLOCKPROTOCOL "LOCKPROTOCOL"
  1752. #define szCFGDRVLEVEL "LEVEL"
  1753. #define szCFGDRVVENDINIT "VENDOR INIT"
  1754. #define szCFGDRVTRACEMODE "TRACE MODE"
  1755. #define szCFGDRVMEMOBLOCKSIZE "MEMO FILE BLOCK SIZE"
  1756. #define szCFGDRVMDXBLOCKSIZE "MDX BLOCK SIZE"
  1757. #define szCFGDRVINIT "INIT"
  1758. #define szCFGDBCREATE "DB CREATE"
  1759. #define szCFGDBOPEN "DB OPEN"
  1760. #define szCFGTBLCREATE "TABLE CREATE"
  1761. #define szCFGTBLOPEN "TABLE OPEN"
  1762. #define szCFGDBINFO "DB INFO"
  1763. #define szCFGDBTYPE "TYPE"
  1764. #define szCFGDBPATH "PATH"
  1765. #define szCFGDBDEFAULTDRIVER "DEFAULT DRIVER"
  1766. #define szCFGDBENABLEBCD "ENABLE BCD"
  1767. #define szCFGINIT "INIT"
  1768. #define szTYPE "TYPE"
  1769. #define szCFGDBSTANDARD "STANDARD"
  1770. #define szCFGTRUE "TRUE"
  1771. #define szCFGFALSE "FALSE"
  1772. #define szOPENMODE "OPEN MODE"
  1773. #define szREADWRITE "READ/WRITE"
  1774. #define szREADONLY "READ ONLY"
  1775. #define szSHAREMODE "SHARE MODE"
  1776. #define szEXCLUSIVE "EXCLUSIVE"
  1777. #define szSHARED "SHARED"
  1778. #define szUSERNAME "USER NAME"
  1779. #define szPASSWORD "PASSWORD"
  1780. #define szSERVERNAME "SERVER NAME"
  1781. #define szDATABASENAME "DATABASE NAME"
  1782. #define szSCHEMASIZE "SCHEMA CACHE SIZE"
  1783. #define szCFGSTRICTINTEGRITY "STRICTINTEGRTY"
  1784. #define szSQLPASSMODE "SQLPASSTHRU MODE"
  1785. #define szNOTSHARED "NOT SHARED"
  1786. #define szSHAREDAUTOCOMMIT "SHARED AUTOCOMMIT"
  1787. #define szSHAREDNOAUTOCOMMIT "SHARED NOAUTOCOMMIT"
  1788. #define szSCHEMATIME "SCHEMA CACHE TIME"
  1789. #define szMAXQUERYTIME "MAX QUERY TIME"
  1790. #define szMAXROWS "MAX ROWS"
  1791. #define szLISTSYNONYMS "LIST SYNONYMS"
  1792. #define szSYNNONE "NONE"
  1793. #define szSYNALL "ALL"
  1794. #define szSYNPRIVATE "PRIVATE"
  1795. #define szBATCHCOUNT "BATCH COUNT"
  1796. #define szENABLESCHEMACACHE "ENABLE SCHEMA CACHE"
  1797. #define szSCHEMACACHEDIR "SCHEMA CACHE DIR"
  1798. #define szSYBLHOST "HOST NAME"
  1799. #define szSYBLAPP "APPLICATION NAME"
  1800. #define szSYBLNATLANG "NATIONAL LANG NAME"
  1801. #define szCFGDRDBNAME "DATABASE NAME"
  1802. #define szCFGDRTBLNAME "TABLE NAME"
  1803. #define szCFGDRLANGDRIVER "LANGUAGE DRIVER"
  1804. #define szCFGDRDESC "DESCRIPTION"
  1805. #define szCFGFORMAT "FORMATS"
  1806. #define szCFGDATE "DATE"
  1807. #define szCFGTIME "TIME"
  1808. #define szCFGNUMBER "NUMBER"
  1809. #define szCFGSEPARATOR "SEPARATOR"
  1810. #define szCFGMODE "MODE"
  1811. #define szCFGFOURDIGITYEAR "FOURDIGITYEAR"
  1812. #define szCFGYEARBIASED "YEARBIASED"
  1813. #define szCFGLEADINGZEROM "LEADINGZEROM"
  1814. #define szCFGLEADINGZEROD "LEADINGZEROD"
  1815. #define szCFGTWELVEHOUR "TWELVEHOUR"
  1816. #define szCFGAMSTRING "AMSTRING"
  1817. #define szCFGPMSTRING "PMSTRING"
  1818. #define szCFGSECONDS "SECONDS"
  1819. #define szCFGMILSECONDS "MILSECONDS"
  1820. #define szCFGDECIMALSEPARATOR "DECIMALSEPARATOR"
  1821. #define szCFGTHOUSANDSEPARATOR "THOUSANDSEPARATOR"
  1822. #define szCFGDECIMALDIGITS "DECIMALDIGITS"
  1823. #define szCFGLEADINGZERON "LEADINGZERON"
  1824. #define DBICFG_BASE System::Smallint(14848)
  1825. #define iCFGSYSTEM System::Smallint(14849)
  1826. #define iCFGDRIVER System::Smallint(14850)
  1827. #define iCFGDATABASE System::Smallint(14851)
  1828. #define iCFGREPOSITORY System::Smallint(15058)
  1829. #define iCFGSYSVERSION System::Smallint(14853)
  1830. #define iCFGSYSNETTYPE System::Smallint(14854)
  1831. #define iCFGSYSNETDIR System::Smallint(14855)
  1832. #define iCFGSYSLOCALSHARE System::Smallint(14856)
  1833. #define iCFGSYSLANGDRV System::Smallint(14857)
  1834. #define iCFGSYSLANGDRVDIR System::Smallint(14858)
  1835. #define iCFGSYSMINBUF System::Smallint(14859)
  1836. #define iCFGSYSMAXBUF System::Smallint(14860)
  1837. #define iCFGSYSLOCKRETRY System::Smallint(14861)
  1838. #define iCFGSYSFLAGS System::Smallint(14862)
  1839. #define iCFGMAXFILEHANDLES System::Smallint(14863)
  1840. #define iCFGSQLQRYMODE System::Smallint(14864)
  1841. #define iCFGLOWMEMLIMIT System::Smallint(14865)
  1842. #define iCFGSYSODBCCFGIMPORT System::Smallint(14866)
  1843. #define iCFGSYSLOCALREPOSITORY System::Smallint(15059)
  1844. #define iCFGSYSSHAREDMEMSIZE System::Smallint(15098)
  1845. #define iCFGSYSSHAREDMEMLOCATION System::Smallint(15099)
  1846. #define iCFGDRVVERSION System::Smallint(14868)
  1847. #define iCFGDRVTYPE System::Smallint(14869)
  1848. #define iCFGDRVLANGDRIVER System::Smallint(14870)
  1849. #define iCFGDRVFILLFACTOR System::Smallint(14871)
  1850. #define iCFGDRVBLOCKSIZE System::Smallint(14872)
  1851. #define iCFGDRVLOCKPROTOCOL System::Smallint(14873)
  1852. #define iCFGDRVLEVEL System::Smallint(14874)
  1853. #define iCFGDRVFLAGS System::Smallint(14875)
  1854. #define iCFGDRVTRACEMODE System::Smallint(14876)
  1855. #define iCFGDRVMEMOBLOCKSIZE System::Smallint(14878)
  1856. #define iCFGDRVMDXBLOCKSIZE System::Smallint(14879)
  1857. #define iCFGDRVINIT System::Smallint(14888)
  1858. #define iCFGDBCREATE System::Smallint(14889)
  1859. #define iCFGDBOPEN System::Smallint(14890)
  1860. #define iCFGTBLCREATE System::Smallint(14891)
  1861. #define iCFGTBLOPEN System::Smallint(14892)
  1862. #define iCFGDBINFO System::Smallint(14898)
  1863. #define iCFGDBTYPE System::Smallint(14908)
  1864. #define iCFGDBPATH System::Smallint(14909)
  1865. #define iCFGDBDEFAULTDRIVER System::Smallint(14910)
  1866. #define iCFGINIT System::Smallint(14918)
  1867. #define iTYPE System::Smallint(14919)
  1868. #define iCFGDBSTANDARD System::Smallint(14920)
  1869. #define iCFGTRUE System::Smallint(14921)
  1870. #define iCFGFALSE System::Smallint(14922)
  1871. #define iOPENMODE System::Smallint(14923)
  1872. #define iREADWRITE System::Smallint(14924)
  1873. #define iREADONLY System::Smallint(14925)
  1874. #define iSHAREMODE System::Smallint(14926)
  1875. #define iEXCLUSIVE System::Smallint(14927)
  1876. #define iSHARED System::Smallint(14928)
  1877. #define iUSERNAME System::Smallint(14929)
  1878. #define iSERVERNAME System::Smallint(14930)
  1879. #define iDATABASENAME System::Smallint(14931)
  1880. #define iSCHEMASIZE System::Smallint(14932)
  1881. #define iCFGSTRICTINTEGRITY System::Smallint(14933)
  1882. #define iCFGDRDBNAME System::Smallint(15061)
  1883. #define iCFGDRTBLNAME System::Smallint(15062)
  1884. #define iCFGDRDESC System::Smallint(15063)
  1885. #define iCFGDRLANGDRIVER System::Smallint(15060)
  1886. #define iCFGFORMAT System::Smallint(14978)
  1887. #define iCFGDATE System::Smallint(14979)
  1888. #define iCFGTIME System::Smallint(14980)
  1889. #define iCFGNUMBER System::Smallint(14981)
  1890. #define iCFGSEPARATOR System::Smallint(14988)
  1891. #define iCFGMODE System::Smallint(14989)
  1892. #define iCFGFOURDIGITYEAR System::Smallint(14990)
  1893. #define iCFGYEARBIASED System::Smallint(14991)
  1894. #define iCFGLEADINGZEROM System::Smallint(14992)
  1895. #define iCFGLEADINGZEROD System::Smallint(14993)
  1896. #define iCFGTWELVEHOUR System::Smallint(14994)
  1897. #define iCFGAMSTRING System::Smallint(14995)
  1898. #define iCFGPMSTRING System::Smallint(14996)
  1899. #define iCFGSECONDS System::Smallint(14997)
  1900. #define iCFGMILSECONDS System::Smallint(14998)
  1901. #define iCFGDECIMALSEPARATOR System::Smallint(15008)
  1902. #define iCFGTHOUSANDSEPARATOR System::Smallint(15009)
  1903. #define iCFGDECIMALDIGITS System::Smallint(15010)
  1904. #define iCFGLEADINGZERON System::Smallint(15011)
  1905. #define iCFGDEFLANGDRV System::Smallint(15013)
  1906. #define iCFGDBASEDEFLANGDRV System::Smallint(15014)
  1907. #define iCFGDEFSEPARATOR System::Smallint(15018)
  1908. #define iCFGDEFMODE System::Smallint(15019)
  1909. #define iCFGDEFFOURDIGITYEAR System::Smallint(15020)
  1910. #define iCFGDEFYEARBIASED System::Smallint(15021)
  1911. #define iCFGDEFLEADINGZEROM System::Smallint(15022)
  1912. #define iCFGDEFLEADINGZEROD System::Smallint(15023)
  1913. #define iCFGDEFTWELVEHOUR System::Smallint(15024)
  1914. #define iCFGDEFAMSTRING System::Smallint(15025)
  1915. #define iCFGDEFPMSTRING System::Smallint(15026)
  1916. #define iCFGDEFSECONDS System::Smallint(15027)
  1917. #define iCFGDEFMILSECONDS System::Smallint(15028)
  1918. #define iCFGDEFDECIMALSEPARATOR System::Smallint(15029)
  1919. #define iCFGDEFTHOUSANDSEPARATOR System::Smallint(15030)
  1920. #define iCFGDEFLEADINGZERO System::Smallint(15031)
  1921. #define iCFGDEFVERSION System::Smallint(15032)
  1922. #define iCFGDEFLOCALSHARE System::Smallint(15033)
  1923. #define iCFGDEFMINBUFSIZE System::Smallint(15034)
  1924. #define iCFGDEFMAXBUFSIZE System::Smallint(15035)
  1925. #define iCFGDEFMAXFILEHANDLES System::Smallint(15036)
  1926. #define iCFGDEFSYSFLAGS System::Smallint(15037)
  1927. #define iCFGDEFLOWMEM System::Smallint(15038)
  1928. #define iCFGDEFAUTOODBC System::Smallint(15039)
  1929. #define iCFGDEFDEFDRV System::Smallint(15040)
  1930. #define iCFGDEFDECIMALDIGITS System::Smallint(15041)
  1931. #define iCFGDEFLEADINGZERON System::Smallint(15042)
  1932. #define iCFGDEFPDXTYPE System::Smallint(15043)
  1933. #define iCFGDEFPDXNETDIR System::Smallint(15044)
  1934. #define iCFGDEFPDXLANGDRV System::Smallint(15045)
  1935. #define iCFGDEFPDXLEVEL System::Smallint(15046)
  1936. #define iCFGDEFPDXBLOCKSIZE System::Smallint(15047)
  1937. #define iCFGDEFPDXFILLFACTOR System::Smallint(15048)
  1938. #define iCFGDEFPDXSTRICTINTEGRTY System::Smallint(15049)
  1939. #define iCFGDEFDBASETYPE System::Smallint(15050)
  1940. #define iCFGDEFDBASELANGDRV System::Smallint(15051)
  1941. #define iCFGDEFDBASELEVEL System::Smallint(15052)
  1942. #define iCFGDEFDBASEMDXBLOCKSIZE System::Smallint(15053)
  1943. #define iCFGDEFDBASEMEMOBLOCKSIZE System::Smallint(15054)
  1944. #define iCFGAUTOODBC System::Smallint(15055)
  1945. #define iCFGDEFDRV System::Smallint(15056)
  1946. #define iCFGDEFSHAREDMEMSIZE System::Smallint(15100)
  1947. #define iCFGDEFSHAREDMEMLOCATION System::Smallint(15101)
  1948. #define iCFGDEFREPOSITORY System::Smallint(15102)
  1949. #define iCFGDEFSQLQRYMODE System::Smallint(15103)
  1950. #define CFGHLP_BASE System::Smallint(15104)
  1951. #define iCFGHLP_SYSNODE System::Smallint(15105)
  1952. #define iCFGHLP_SYSINITNODE System::Smallint(15106)
  1953. #define iCFGHLP_SYSVERSION System::Smallint(15107)
  1954. #define iCFGHLP_SYSLOCALSHARE System::Smallint(15108)
  1955. #define iCFGHLP_SYSMINBUFSIZE System::Smallint(15109)
  1956. #define iCFGHLP_SYSMAXBUFSIZE System::Smallint(15110)
  1957. #define iCFGHLP_SYSLANGDRIVER System::Smallint(15111)
  1958. #define iCFGHLP_SYSNETTYPE System::Smallint(15112)
  1959. #define iCFGHLP_SYSFLAGS System::Smallint(15113)
  1960. #define iCFGHLP_SYSMAXFILE System::Smallint(15114)
  1961. #define iCFGHLP_SYSLOWMEM System::Smallint(15115)
  1962. #define iCFGHLP_SYSAUTOODBC System::Smallint(15116)
  1963. #define iCFGHLP_SYSDEFDRV System::Smallint(15117)
  1964. #define iCFGHLP_SYSSQLQRYMODE System::Smallint(15118)
  1965. #define iCFGHLP_SYSSQLPASSTHRU System::Smallint(15119)
  1966. #define iCFGHLP_SYSFORMATNODE System::Smallint(15120)
  1967. #define iCFGHLP_DATENODE System::Smallint(15121)
  1968. #define iCFGHLP_DATESEPARATOR System::Smallint(15122)
  1969. #define iCFGHLP_DATEMODE System::Smallint(15123)
  1970. #define iCFGHLP_DATEFOURDIGIT System::Smallint(15124)
  1971. #define iCFGHLP_DATEYEARBIASED System::Smallint(15125)
  1972. #define iCFGHLP_DATEZEROM System::Smallint(15126)
  1973. #define iCFGHLP_DATEZEROD System::Smallint(15127)
  1974. #define iCFGHLP_TIMENODE System::Smallint(15128)
  1975. #define iCFGHLP_TIMETWELVEHOUR System::Smallint(15129)
  1976. #define iCFGHLP_TIMEAMSTRING System::Smallint(15130)
  1977. #define iCFGHLP_TIMEPMSTRING System::Smallint(15131)
  1978. #define iCFGHLP_TIMESECONDS System::Smallint(15132)
  1979. #define iCFGHLP_TIMEMILSEC System::Smallint(15133)
  1980. #define iCFGHLP_NUMNODE System::Smallint(15134)
  1981. #define iCFGHLP_NUMDECIMALSEPARATOR System::Smallint(15135)
  1982. #define iCFGHLP_NUMTHOUSANDSEPARATOR System::Smallint(15136)
  1983. #define iCFGHLP_NUMDECIMALDIGITS System::Smallint(15137)
  1984. #define iCFGHLP_NUMZERON System::Smallint(15138)
  1985. #define iCFGHLP_DRVNODE System::Smallint(15139)
  1986. #define iCFGHLP_PDXNODE System::Smallint(15140)
  1987. #define iCFGHLP_PDXINITNODE System::Smallint(15141)
  1988. #define iCFGHLP_DRVTYPE System::Smallint(15142)
  1989. #define iCFGHLP_PDXNETDIR System::Smallint(15143)
  1990. #define iCFGHLP_PDXTBLNODE System::Smallint(15144)
  1991. #define iCFGHLP_PDXLEVEL System::Smallint(15145)
  1992. #define iCFGHLP_PDXBLOCKSIZE System::Smallint(15146)
  1993. #define iCFGHLP_PDXFILLFACTOR System::Smallint(15147)
  1994. #define iCFGHLP_PDXSTRICT System::Smallint(15148)
  1995. #define iCFGHLP_DBNODE System::Smallint(15149)
  1996. #define iCFGHLP_DBINITNODE System::Smallint(15150)
  1997. #define iCFGHLP_DBVERSION System::Smallint(15151)
  1998. #define iCFGHLP_DBTBLNODE System::Smallint(15152)
  1999. #define iCFGHLP_DBLEVEL System::Smallint(15153)
  2000. #define iCFGHLP_DBMDXBLOCKSIZE System::Smallint(15154)
  2001. #define iCFGHLP_DBMEMOFILEBLOCKSIZE System::Smallint(15155)
  2002. #define iCFGHLP_INTNODE System::Smallint(15156)
  2003. #define iCFGHLP_INTINITNODE System::Smallint(15157)
  2004. #define iCFGHLP_INTVERSION System::Smallint(15158)
  2005. #define iCFGHLP_SQLDLL System::Smallint(15159)
  2006. #define iCFGHLP_SQLDLL32 System::Smallint(15160)
  2007. #define iCFGHLP_SQLDRIVERFLAGS System::Smallint(15161)
  2008. #define iCFGHLP_INTDBNODE System::Smallint(15162)
  2009. #define iCFGHLP_SQLSERVER System::Smallint(15163)
  2010. #define iCFGHLP_SQLUSER System::Smallint(15164)
  2011. #define iCFGHLP_SQLOPENMODE System::Smallint(15165)
  2012. #define iCFGHLP_SQLSCHEMASIZE System::Smallint(15166)
  2013. #define iCFGHLP_SQLSCHEMATIME System::Smallint(15167)
  2014. #define iCFGHLP_SYBNODE System::Smallint(15168)
  2015. #define iCFGHLP_SYBINITNODE System::Smallint(15169)
  2016. #define iCFGHLP_SYBVERSION System::Smallint(15170)
  2017. #define iCFGHLP_SQLCONNECT System::Smallint(15171)
  2018. #define iCFGHLP_SQLTIMEOUT System::Smallint(15172)
  2019. #define iCFGHLP_SYBDBNODE System::Smallint(15173)
  2020. #define iCFGHLP_SQLDATABASE System::Smallint(15174)
  2021. #define iCFGHLP_SQLBLOBEDIT System::Smallint(15175)
  2022. #define iCFGHLP_SQLMAXQUERY System::Smallint(15176)
  2023. #define iCFGHLP_ORANODE System::Smallint(15177)
  2024. #define iCFGHLP_ORAINITNODE System::Smallint(15178)
  2025. #define iCFGHLP_ORAVERSION System::Smallint(15179)
  2026. #define iCFGHLP_SQLVENDOR System::Smallint(15180)
  2027. #define iCFGHLP_ORADBNODE System::Smallint(15181)
  2028. #define iCFGHLP_SQLNETPROTOCOL System::Smallint(15182)
  2029. #define iCFGHLP_MSSNODE System::Smallint(15183)
  2030. #define iCFGHLP_MSSINITNODE System::Smallint(15184)
  2031. #define iCFGHLP_MSSVERSION System::Smallint(15185)
  2032. #define iCFGHLP_MSSDBNODE System::Smallint(15186)
  2033. #define iCFGHLP_INFNODE System::Smallint(15187)
  2034. #define iCFGHLP_INFINITNODE System::Smallint(15188)
  2035. #define iCFGHLP_INFVERSION System::Smallint(15189)
  2036. #define iCFGHLP_INFDBNODE System::Smallint(15190)
  2037. #define iCFGHLP_SQLLOCKMODE System::Smallint(15191)
  2038. #define iCFGHLP_SQLTRACEMODE System::Smallint(15192)
  2039. #define iCFGHLP_SQLMAXROWS System::Smallint(15193)
  2040. #define iCFGHLP_SQLBATCHCOUNT System::Smallint(15194)
  2041. #define iCFGHLP_SYSSHAREDMEMSIZ System::Smallint(15195)
  2042. #define iCFGHLP_SYSSHAREDMEMLOC System::Smallint(15196)
  2043. #define iCFGHLP_SYSDATAREP System::Smallint(15197)
  2044. #define iCFGHLP_ALIASTYPE System::Smallint(15198)
  2045. #define iCFGHLP_ALIASPATH System::Smallint(15199)
  2046. #define iCFGHLP_ALIASDEFDRV System::Smallint(15200)
  2047. #define iCFGHLP_ENABLESCHEMACACHE System::Smallint(15201)
  2048. #define iCFGHLP_SCHEMACACHEDIR System::Smallint(15202)
  2049. #define iCFGHLP_HOSTNAME System::Smallint(15203)
  2050. #define iCFGHLP_APPLICATIONNAME System::Smallint(15204)
  2051. #define iCFGHLP_NATIONALLANGNAME System::Smallint(15205)
  2052. #define ERRCAT_NONE System::Byte(0)
  2053. #define ERRCAT_SYSTEM System::Byte(33)
  2054. #define ERRCAT_NOTFOUND System::Byte(34)
  2055. #define ERRCAT_DATACORRUPT System::Byte(35)
  2056. #define ERRCAT_IO System::Byte(36)
  2057. #define ERRCAT_LIMIT System::Byte(37)
  2058. #define ERRCAT_INTEGRITY System::Byte(38)
  2059. #define ERRCAT_INVALIDREQ System::Byte(39)
  2060. #define ERRCAT_LOCKCONFLICT System::Byte(40)
  2061. #define ERRCAT_SECURITY System::Byte(41)
  2062. #define ERRCAT_INVALIDCONTEXT System::Byte(42)
  2063. #define ERRCAT_OS System::Byte(43)
  2064. #define ERRCAT_NETWORK System::Byte(44)
  2065. #define ERRCAT_OPTPARAM System::Byte(45)
  2066. #define ERRCAT_QUERY System::Byte(46)
  2067. #define ERRCAT_VERSION System::Byte(47)
  2068. #define ERRCAT_CAPABILITY System::Byte(48)
  2069. #define ERRCAT_CONFIG System::Byte(49)
  2070. #define ERRCAT_WARNING System::Byte(50)
  2071. #define ERRCAT_OTHER System::Byte(51)
  2072. #define ERRCAT_COMPATIBILITY System::Byte(52)
  2073. #define ERRCAT_REPOSITORY System::Byte(53)
  2074. #define ERRCAT_DRIVER System::Byte(62)
  2075. #define ERRCAT_RC System::Byte(63)
  2076. #define ERRBASE_NONE System::Byte(0)
  2077. #define ERRBASE_SYSTEM System::Smallint(8448)
  2078. #define ERRBASE_NOTFOUND System::Smallint(8704)
  2079. #define ERRBASE_DATACORRUPT System::Smallint(8960)
  2080. #define ERRBASE_IO System::Smallint(9216)
  2081. #define ERRBASE_LIMIT System::Smallint(9472)
  2082. #define ERRBASE_INTEGRITY System::Smallint(9728)
  2083. #define ERRBASE_INVALIDREQ System::Smallint(9984)
  2084. #define ERRBASE_LOCKCONFLICT System::Smallint(10240)
  2085. #define ERRBASE_SEC System::Smallint(10496)
  2086. #define ERRBASE_IC System::Smallint(10752)
  2087. #define ERRBASE_OS System::Smallint(11008)
  2088. #define ERRBASE_NETWORK System::Smallint(11264)
  2089. #define ERRBASE_OPTPARAM System::Smallint(11520)
  2090. #define ERRBASE_QUERY System::Smallint(11776)
  2091. #define ERRBASE_VERSION System::Smallint(12032)
  2092. #define ERRBASE_CAPABILITY System::Smallint(12288)
  2093. #define ERRBASE_CONFIG System::Smallint(12544)
  2094. #define ERRBASE_WARNING System::Smallint(12800)
  2095. #define ERRBASE_OTHER System::Smallint(13056)
  2096. #define ERRBASE_COMPATIBILITY System::Smallint(13312)
  2097. #define ERRBASE_REPOSITORY System::Smallint(13568)
  2098. #define ERRBASE_DRIVER System::Smallint(15872)
  2099. #define ERRBASE_RC System::Smallint(16128)
  2100. #define ERRCODE_NONE System::Byte(0)
  2101. #define DBIERR_NONE System::Byte(0)
  2102. #define ERRCODE_SYSFILEOPEN System::Byte(1)
  2103. #define ERRCODE_SYSFILEIO System::Byte(2)
  2104. #define ERRCODE_SYSCORRUPT System::Byte(3)
  2105. #define ERRCODE_NOCONFIGFILE System::Byte(4)
  2106. #define ERRCODE_CFGCANNOTWRITE System::Byte(5)
  2107. #define ERRCODE_CFGMULTIFILE System::Byte(6)
  2108. #define ERRCODE_REENTERED System::Byte(7)
  2109. #define ERRCODE_CANTFINDIDAPI System::Byte(8)
  2110. #define ERRCODE_CANTLOADIDAPI System::Byte(9)
  2111. #define ERRCODE_CANTLOADLIBRARY System::Byte(10)
  2112. #define ERRCODE_TEMPFILEERR System::Byte(11)
  2113. #define ERRCODE_MULTIPLEIDAPI System::Byte(12)
  2114. #define DBIERR_SYSFILEOPEN System::Smallint(8449)
  2115. #define DBIERR_SYSFILEIO System::Smallint(8450)
  2116. #define DBIERR_SYSCORRUPT System::Smallint(8451)
  2117. #define DBIERR_NOCONFIGFILE System::Smallint(8452)
  2118. #define DBIERR_CFGCANNOTWRITE System::Smallint(8453)
  2119. #define DBIERR_CFGMULTIFILE System::Smallint(8454)
  2120. #define DBIERR_REENTERED System::Smallint(8455)
  2121. #define DBIERR_CANTFINDIDAPI System::Smallint(8456)
  2122. #define DBIERR_CANTLOADIDAPI System::Smallint(8457)
  2123. #define DBIERR_CANTLOADLIBRARY System::Smallint(8458)
  2124. #define DBIERR_TEMPFILEERR System::Smallint(8459)
  2125. #define DBIERR_MULTIPLEIDAPI System::Smallint(8460)
  2126. #define DBIERR_CANTFINDODAPI System::Smallint(8456)
  2127. #define DBIERR_CANTLOADODAPI System::Smallint(8457)
  2128. #define ERRCODE_BOF System::Byte(1)
  2129. #define ERRCODE_EOF System::Byte(2)
  2130. #define ERRCODE_RECMOVED System::Byte(3)
  2131. #define ERRCODE_KEYORRECDELETED System::Byte(4)
  2132. #define ERRCODE_NOCURRREC System::Byte(5)
  2133. #define ERRCODE_RECNOTFOUND System::Byte(6)
  2134. #define ERRCODE_ENDOFBLOB System::Byte(7)
  2135. #define ERRCODE_OBJNOTFOUND System::Byte(8)
  2136. #define ERRCODE_FMLMEMBERNOTFOUND System::Byte(9)
  2137. #define ERRCODE_BLOBFILEMISSING System::Byte(10)
  2138. #define ERRCODE_LDNOTFOUND System::Byte(11)
  2139. #define DBIERR_BOF System::Smallint(8705)
  2140. #define DBIERR_EOF System::Smallint(8706)
  2141. #define DBIERR_RECMOVED System::Smallint(8707)
  2142. #define DBIERR_RECDELETED System::Smallint(8708)
  2143. #define DBIERR_KEYORRECDELETED System::Smallint(8708)
  2144. #define DBIERR_NOCURRREC System::Smallint(8709)
  2145. #define DBIERR_RECNOTFOUND System::Smallint(8710)
  2146. #define DBIERR_ENDOFBLOB System::Smallint(8711)
  2147. #define DBIERR_OBJNOTFOUND System::Smallint(8712)
  2148. #define DBIERR_FMLMEMBERNOTFOUND System::Smallint(8713)
  2149. #define DBIERR_BLOBFILEMISSING System::Smallint(8714)
  2150. #define DBIERR_LDNOTFOUND System::Smallint(8715)
  2151. #define ERRCODE_HEADERCORRUPT System::Byte(1)
  2152. #define ERRCODE_FILECORRUPT System::Byte(2)
  2153. #define ERRCODE_MEMOCORRUPT System::Byte(3)
  2154. #define ERRCODE_BMPCORRUPT System::Byte(4)
  2155. #define ERRCODE_INDEXCORRUPT System::Byte(5)
  2156. #define ERRCODE_CORRUPTLOCKFILE System::Byte(6)
  2157. #define ERRCODE_FAMFILEINVALID System::Byte(7)
  2158. #define ERRCODE_VALFILECORRUPT System::Byte(8)
  2159. #define ERRCODE_FOREIGNINDEX System::Byte(9)
  2160. #define DBIERR_HEADERCORRUPT System::Smallint(8961)
  2161. #define DBIERR_FILECORRUPT System::Smallint(8962)
  2162. #define DBIERR_MEMOCORRUPT System::Smallint(8963)
  2163. #define DBIERR_BMPCORRUPT System::Smallint(8964)
  2164. #define DBIERR_INDEXCORRUPT System::Smallint(8965)
  2165. #define DBIERR_CORRUPTLOCKFILE System::Smallint(8966)
  2166. #define DBIERR_FAMFILEINVALID System::Smallint(8967)
  2167. #define DBIERR_VALFILECORRUPT System::Smallint(8968)
  2168. #define DBIERR_FOREIGNINDEX System::Smallint(8969)
  2169. #define ERRCODE_READERR System::Byte(1)
  2170. #define ERRCODE_WRITEERR System::Byte(2)
  2171. #define ERRCODE_DIRNOACCESS System::Byte(3)
  2172. #define ERRCODE_FILEDELETEFAIL System::Byte(4)
  2173. #define ERRCODE_FILENOACCESS System::Byte(5)
  2174. #define ERRCODE_ACCESSDISABLED System::Byte(6)
  2175. #define DBIERR_READERR System::Smallint(9217)
  2176. #define DBIERR_WRITEERR System::Smallint(9218)
  2177. #define DBIERR_DIRNOACCESS System::Smallint(9219)
  2178. #define DBIERR_FILEDELETEFAIL System::Smallint(9220)
  2179. #define DBIERR_FILENOACCESS System::Smallint(9221)
  2180. #define DBIERR_ACCESSDISABLED System::Smallint(9222)
  2181. #define ERRCODE_NOMEMORY System::Byte(1)
  2182. #define ERRCODE_NOFILEHANDLES System::Byte(2)
  2183. #define ERRCODE_NODISKSPACE System::Byte(3)
  2184. #define ERRCODE_NOTEMPTBLSPACE System::Byte(4)
  2185. #define ERRCODE_RECTOOBIG System::Byte(5)
  2186. #define ERRCODE_CURSORLIMIT System::Byte(6)
  2187. #define ERRCODE_TABLEFULL System::Byte(7)
  2188. #define ERRCODE_WSSESLIMIT System::Byte(8)
  2189. #define ERRCODE_SERNUMLIMIT System::Byte(9)
  2190. #define ERRCODE_INTERNALLIMIT System::Byte(10)
  2191. #define ERRCODE_OPENTBLLIMIT System::Byte(11)
  2192. #define ERRCODE_TBLCURSORLIMIT System::Byte(12)
  2193. #define ERRCODE_RECLOCKLIMIT System::Byte(13)
  2194. #define ERRCODE_CLIENTSLIMIT System::Byte(14)
  2195. #define ERRCODE_INDEXLIMIT System::Byte(15)
  2196. #define ERRCODE_SESSIONSLIMIT System::Byte(16)
  2197. #define ERRCODE_DBLIMIT System::Byte(17)
  2198. #define ERRCODE_PASSWORDLIMIT System::Byte(18)
  2199. #define ERRCODE_DRIVERLIMIT System::Byte(19)
  2200. #define ERRCODE_FLDLIMIT System::Byte(20)
  2201. #define ERRCODE_TBLLOCKLIMIT System::Byte(21)
  2202. #define ERRCODE_OPENBLOBLIMIT System::Byte(22)
  2203. #define ERRCODE_LOCKFILELIMIT System::Byte(23)
  2204. #define ERRCODE_OPENQRYLIMIT System::Byte(24)
  2205. #define ERRCODE_THREADLIMIT System::Byte(25)
  2206. #define ERRCODE_BLOBLIMIT System::Byte(26)
  2207. #define ERRCODE_PDX50NAMELIMIT System::Byte(27)
  2208. #define ERRCODE_ROWFETCHLIMIT System::Byte(28)
  2209. #define ERRCODE_LONGNAMENOTALLOWED System::Byte(29)
  2210. #define DBIERR_NOMEMORY System::Smallint(9473)
  2211. #define DBIERR_NOFILEHANDLES System::Smallint(9474)
  2212. #define DBIERR_NODISKSPACE System::Smallint(9475)
  2213. #define DBIERR_NOTEMPTBLSPACE System::Smallint(9476)
  2214. #define DBIERR_RECTOOBIG System::Smallint(9477)
  2215. #define DBIERR_CURSORLIMIT System::Smallint(9478)
  2216. #define DBIERR_TABLEFULL System::Smallint(9479)
  2217. #define DBIERR_WSSESLIMIT System::Smallint(9480)
  2218. #define DBIERR_SERNUMLIMIT System::Smallint(9481)
  2219. #define DBIERR_INTERNALLIMIT System::Smallint(9482)
  2220. #define DBIERR_OPENTBLLIMIT System::Smallint(9483)
  2221. #define DBIERR_TBLCURSORLIMIT System::Smallint(9484)
  2222. #define DBIERR_RECLOCKLIMIT System::Smallint(9485)
  2223. #define DBIERR_CLIENTSLIMIT System::Smallint(9486)
  2224. #define DBIERR_INDEXLIMIT System::Smallint(9487)
  2225. #define DBIERR_SESSIONSLIMIT System::Smallint(9488)
  2226. #define DBIERR_DBLIMIT System::Smallint(9489)
  2227. #define DBIERR_PASSWORDLIMIT System::Smallint(9490)
  2228. #define DBIERR_DRIVERLIMIT System::Smallint(9491)
  2229. #define DBIERR_FLDLIMIT System::Smallint(9492)
  2230. #define DBIERR_TBLLOCKLIMIT System::Smallint(9493)
  2231. #define DBIERR_OPENBLOBLIMIT System::Smallint(9494)
  2232. #define DBIERR_LOCKFILELIMIT System::Smallint(9495)
  2233. #define DBIERR_OPENQRYLIMIT System::Smallint(9496)
  2234. #define DBIERR_THREADLIMIT System::Smallint(9497)
  2235. #define DBIERR_BLOBLIMIT System::Smallint(9498)
  2236. #define DBIERR_PDX50NAMELIMIT System::Smallint(9499)
  2237. #define DBIERR_ROWFETCHLIMIT System::Smallint(9500)
  2238. #define DBIERR_LONGNAMENOTALLOWED System::Smallint(9501)
  2239. #define ERRCODE_KEYVIOL System::Byte(1)
  2240. #define ERRCODE_MINVALERR System::Byte(2)
  2241. #define ERRCODE_MAXVALERR System::Byte(3)
  2242. #define ERRCODE_REQDERR System::Byte(4)
  2243. #define ERRCODE_FORIEGNKEYERR System::Byte(5)
  2244. #define ERRCODE_DETAILRECORDSEXIST System::Byte(6)
  2245. #define ERRCODE_MASTERTBLLEVEL System::Byte(7)
  2246. #define ERRCODE_LOOKUPTABLEERR System::Byte(8)
  2247. #define ERRCODE_LOOKUPTBLOPENERR System::Byte(9)
  2248. #define ERRCODE_DETAILTBLOPENERR System::Byte(10)
  2249. #define ERRCODE_MASTERTBLOPENERR System::Byte(11)
  2250. #define ERRCODE_FIELDISBLANK System::Byte(12)
  2251. #define ERRCODE_MASTEREXISTS System::Byte(13)
  2252. #define ERRCODE_MASTERTBLOPEN System::Byte(14)
  2253. #define ERRCODE_DETAILTABLESEXIST System::Byte(15)
  2254. #define ERRCODE_DETAILRECEXISTEMPTY System::Byte(16)
  2255. #define ERRCODE_MASTERREFERENCEERR System::Byte(17)
  2256. #define ERRCODE_DETAILTBLOPEN System::Byte(18)
  2257. #define ERRCODE_DEPENDENTSMUSTBEEMPTY System::Byte(19)
  2258. #define ERRCODE_RINTREQINDEX System::Byte(20)
  2259. #define ERRCODE_LINKEDTBLPROTECTED System::Byte(21)
  2260. #define ERRCODE_FIELDMULTILINKED System::Byte(22)
  2261. #define DBIERR_KEYVIOL System::Smallint(9729)
  2262. #define DBIERR_MINVALERR System::Smallint(9730)
  2263. #define DBIERR_MAXVALERR System::Smallint(9731)
  2264. #define DBIERR_REQDERR System::Smallint(9732)
  2265. #define DBIERR_FORIEGNKEYERR System::Smallint(9733)
  2266. #define DBIERR_DETAILRECORDSEXIST System::Smallint(9734)
  2267. #define DBIERR_MASTERTBLLEVEL System::Smallint(9735)
  2268. #define DBIERR_LOOKUPTABLEERR System::Smallint(9736)
  2269. #define DBIERR_LOOKUPTBLOPENERR System::Smallint(9737)
  2270. #define DBIERR_DETAILTBLOPENERR System::Smallint(9738)
  2271. #define DBIERR_MASTERTBLOPENERR System::Smallint(9739)
  2272. #define DBIERR_FIELDISBLANK System::Smallint(9740)
  2273. #define DBIERR_MASTEREXISTS System::Smallint(9741)
  2274. #define DBIERR_MASTERTBLOPEN System::Smallint(9742)
  2275. #define DBIERR_DETAILTABLESEXIST System::Smallint(9743)
  2276. #define DBIERR_DETAILRECEXISTEMPTY System::Smallint(9744)
  2277. #define DBIERR_MASTERREFERENCEERR System::Smallint(9745)
  2278. #define DBIERR_DETAILTBLOPEN System::Smallint(9746)
  2279. #define DBIERR_DEPENDENTSMUSTBEEMPTY System::Smallint(9747)
  2280. #define DBIERR_RINTREQINDEX System::Smallint(9748)
  2281. #define DBIERR_LINKEDTBLPROTECTED System::Smallint(9749)
  2282. #define DBIERR_FIELDMULTILINKED System::Smallint(9750)
  2283. #define ERRCODE_OUTOFRANGE System::Byte(1)
  2284. #define ERRCODE_INVALIDPARAM System::Byte(2)
  2285. #define ERRCODE_INVALIDFILENAME System::Byte(3)
  2286. #define ERRCODE_NOSUCHFILE System::Byte(4)
  2287. #define ERRCODE_INVALIDOPTION System::Byte(5)
  2288. #define ERRCODE_INVALIDHNDL System::Byte(6)
  2289. #define ERRCODE_UNKNOWNTBLTYPE System::Byte(7)
  2290. #define ERRCODE_UNKNOWNFILE System::Byte(8)
  2291. #define ERRCODE_PRIMARYKEYREDEFINE System::Byte(9)
  2292. #define ERRCODE_INVALIDRINTDESCNUM System::Byte(10)
  2293. #define ERRCODE_KEYFLDTYPEMISMATCH System::Byte(11)
  2294. #define ERRCODE_INVALIDMODIFYREQUEST System::Byte(12)
  2295. #define ERRCODE_NOSUCHINDEX System::Byte(13)
  2296. #define ERRCODE_INVALIDBLOBOFFSET System::Byte(14)
  2297. #define ERRCODE_INVALIDDESCNUM System::Byte(15)
  2298. #define ERRCODE_INVALIDFLDTYPE System::Byte(16)
  2299. #define ERRCODE_INVALIDFLDDESC System::Byte(17)
  2300. #define ERRCODE_INVALIDFLDXFORM System::Byte(18)
  2301. #define ERRCODE_INVALIDRECSTRUCT System::Byte(19)
  2302. #define ERRCODE_INVALIDDESC System::Byte(20)
  2303. #define ERRCODE_INVALIDINDEXSTRUCT System::Byte(21)
  2304. #define ERRCODE_INVALIDVCHKSTRUCT System::Byte(22)
  2305. #define ERRCODE_INVALIDRINTSTRUCT System::Byte(23)
  2306. #define ERRCODE_INVALIDRESTRTBLORDER System::Byte(24)
  2307. #define ERRCODE_NAMENOTUNIQUE System::Byte(25)
  2308. #define ERRCODE_INDEXNAMEREQUIRED System::Byte(26)
  2309. #define ERRCODE_INVALIDSESHANDLE System::Byte(27)
  2310. #define ERRCODE_INVALIDRESTROP System::Byte(28)
  2311. #define ERRCODE_UNKNOWNDRIVER System::Byte(29)
  2312. #define ERRCODE_UNKNOWNDB System::Byte(30)
  2313. #define ERRCODE_INVALIDPASSWORD System::Byte(31)
  2314. #define ERRCODE_NOCALLBACK System::Byte(32)
  2315. #define ERRCODE_INVALIDCALLBACKBUFLEN System::Byte(33)
  2316. #define ERRCODE_INVALIDDIR System::Byte(34)
  2317. #define ERRCODE_INVALIDXLATION System::Byte(35)
  2318. #define ERRCODE_DIFFERENTTABLES System::Byte(36)
  2319. #define ERRCODE_INVALIDBOOKMARK System::Byte(37)
  2320. #define ERRCODE_INVALIDINDEXNAME System::Byte(38)
  2321. #define ERRCODE_INVALIDIDXDESC System::Byte(39)
  2322. #define ERRCODE_NOSUCHTABLE System::Byte(40)
  2323. #define ERRCODE_USECOUNT System::Byte(41)
  2324. #define ERRCODE_INVALIDKEY System::Byte(42)
  2325. #define ERRCODE_INDEXEXISTS System::Byte(43)
  2326. #define ERRCODE_INDEXOPEN System::Byte(44)
  2327. #define ERRCODE_INVALIDBLOBLEN System::Byte(45)
  2328. #define ERRCODE_INVALIDBLOBHANDLE System::Byte(46)
  2329. #define ERRCODE_TABLEOPEN System::Byte(47)
  2330. #define ERRCODE_NEEDRESTRUCTURE System::Byte(48)
  2331. #define ERRCODE_INVALIDMODE System::Byte(49)
  2332. #define ERRCODE_CANNOTCLOSE System::Byte(50)
  2333. #define ERRCODE_ACTIVEINDEX System::Byte(51)
  2334. #define ERRCODE_INVALIDUSRPASS System::Byte(52)
  2335. #define ERRCODE_MULTILEVELCASCADE System::Byte(53)
  2336. #define ERRCODE_INVALIDFIELDNAME System::Byte(54)
  2337. #define ERRCODE_INVALIDTABLENAME System::Byte(55)
  2338. #define ERRCODE_INVALIDLINKEXPR System::Byte(56)
  2339. #define ERRCODE_NAMERESERVED System::Byte(57)
  2340. #define ERRCODE_INVALIDFILEEXTN System::Byte(58)
  2341. #define ERRCODE_INVALIDLANGDRV System::Byte(59)
  2342. #define ERRCODE_ALIASNOTOPEN System::Byte(60)
  2343. #define ERRCODE_INCOMPATRECSTRUCTS System::Byte(61)
  2344. #define ERRCODE_RESERVEDDOSNAME System::Byte(62)
  2345. #define ERRCODE_DESTMUSTBEINDEXED System::Byte(63)
  2346. #define ERRCODE_INVALIDINDEXTYPE System::Byte(64)
  2347. #define ERRCODE_LANGDRVMISMATCH System::Byte(65)
  2348. #define ERRCODE_NOSUCHFILTER System::Byte(66)
  2349. #define ERRCODE_INVALIDFILTER System::Byte(67)
  2350. #define ERRCODE_INVALIDTABLECREATE System::Byte(68)
  2351. #define ERRCODE_INVALIDTABLEDELETE System::Byte(69)
  2352. #define ERRCODE_INVALIDINDEXCREATE System::Byte(70)
  2353. #define ERRCODE_INVALIDINDEXDELETE System::Byte(71)
  2354. #define ERRCODE_INVALIDTABLE System::Byte(72)
  2355. #define ERRCODE_MULTIRESULTS System::Byte(73)
  2356. #define ERRCODE_INVALIDTIME System::Byte(74)
  2357. #define ERRCODE_INVALIDDATE System::Byte(75)
  2358. #define ERRCODE_INVALIDTIMESTAMP System::Byte(76)
  2359. #define ERRCODE_DIFFERENTPATH System::Byte(77)
  2360. #define ERRCODE_MISMATCHARGS System::Byte(78)
  2361. #define ERRCODE_FUNCTIONNOTFOUND System::Byte(79)
  2362. #define ERRCODE_MUSTUSEBASEORDER System::Byte(80)
  2363. #define ERRCODE_INVALIDPROCEDURENAME System::Byte(81)
  2364. #define ERRCODE_INVALIDFLDMAP System::Byte(82)
  2365. #define DBIERR_OUTOFRANGE System::Smallint(9985)
  2366. #define DBIERR_INVALIDPARAM System::Smallint(9986)
  2367. #define DBIERR_INVALIDFILENAME System::Smallint(9987)
  2368. #define DBIERR_NOSUCHFILE System::Smallint(9988)
  2369. #define DBIERR_INVALIDOPTION System::Smallint(9989)
  2370. #define DBIERR_INVALIDHNDL System::Smallint(9990)
  2371. #define DBIERR_UNKNOWNTBLTYPE System::Smallint(9991)
  2372. #define DBIERR_UNKNOWNFILE System::Smallint(9992)
  2373. #define DBIERR_PRIMARYKEYREDEFINE System::Smallint(9993)
  2374. #define DBIERR_INVALIDRINTDESCNUM System::Smallint(9994)
  2375. #define DBIERR_KEYFLDTYPEMISMATCH System::Smallint(9995)
  2376. #define DBIERR_INVALIDMODIFYREQUEST System::Smallint(9996)
  2377. #define DBIERR_NOSUCHINDEX System::Smallint(9997)
  2378. #define DBIERR_INVALIDBLOBOFFSET System::Smallint(9998)
  2379. #define DBIERR_INVALIDDESCNUM System::Smallint(9999)
  2380. #define DBIERR_INVALIDFLDTYPE System::Smallint(10000)
  2381. #define DBIERR_INVALIDFLDDESC System::Smallint(10001)
  2382. #define DBIERR_INVALIDFLDXFORM System::Smallint(10002)
  2383. #define DBIERR_INVALIDRECSTRUCT System::Smallint(10003)
  2384. #define DBIERR_INVALIDDESC System::Smallint(10004)
  2385. #define DBIERR_INVALIDINDEXSTRUCT System::Smallint(10005)
  2386. #define DBIERR_INVALIDVCHKSTRUCT System::Smallint(10006)
  2387. #define DBIERR_INVALIDRINTSTRUCT System::Smallint(10007)
  2388. #define DBIERR_INVALIDRESTRTBLORDER System::Smallint(10008)
  2389. #define DBIERR_NAMENOTUNIQUE System::Smallint(10009)
  2390. #define DBIERR_INDEXNAMEREQUIRED System::Smallint(10010)
  2391. #define DBIERR_INVALIDSESHANDLE System::Smallint(10011)
  2392. #define DBIERR_INVALIDRESTROP System::Smallint(10012)
  2393. #define DBIERR_UNKNOWNDRIVER System::Smallint(10013)
  2394. #define DBIERR_UNKNOWNDB System::Smallint(10014)
  2395. #define DBIERR_INVALIDPASSWORD System::Smallint(10015)
  2396. #define DBIERR_NOCALLBACK System::Smallint(10016)
  2397. #define DBIERR_INVALIDCALLBACKBUFLEN System::Smallint(10017)
  2398. #define DBIERR_INVALIDDIR System::Smallint(10018)
  2399. #define DBIERR_INVALIDXLATION System::Smallint(10019)
  2400. #define DBIERR_DIFFERENTTABLES System::Smallint(10020)
  2401. #define DBIERR_INVALIDBOOKMARK System::Smallint(10021)
  2402. #define DBIERR_INVALIDINDEXNAME System::Smallint(10022)
  2403. #define DBIERR_INVALIDIDXDESC System::Smallint(10023)
  2404. #define DBIERR_NOSUCHTABLE System::Smallint(10024)
  2405. #define DBIERR_USECOUNT System::Smallint(10025)
  2406. #define DBIERR_INVALIDKEY System::Smallint(10026)
  2407. #define DBIERR_INDEXEXISTS System::Smallint(10027)
  2408. #define DBIERR_INDEXOPEN System::Smallint(10028)
  2409. #define DBIERR_INVALIDBLOBLEN System::Smallint(10029)
  2410. #define DBIERR_INVALIDBLOBHANDLE System::Smallint(10030)
  2411. #define DBIERR_TABLEOPEN System::Smallint(10031)
  2412. #define DBIERR_NEEDRESTRUCTURE System::Smallint(10032)
  2413. #define DBIERR_INVALIDMODE System::Smallint(10033)
  2414. #define DBIERR_CANNOTCLOSE System::Smallint(10034)
  2415. #define DBIERR_ACTIVEINDEX System::Smallint(10035)
  2416. #define DBIERR_INVALIDUSRPASS System::Smallint(10036)
  2417. #define DBIERR_MULTILEVELCASCADE System::Smallint(10037)
  2418. #define DBIERR_INVALIDFIELDNAME System::Smallint(10038)
  2419. #define DBIERR_INVALIDTABLENAME System::Smallint(10039)
  2420. #define DBIERR_INVALIDLINKEXPR System::Smallint(10040)
  2421. #define DBIERR_NAMERESERVED System::Smallint(10041)
  2422. #define DBIERR_INVALIDFILEEXTN System::Smallint(10042)
  2423. #define DBIERR_INVALIDLANGDRV System::Smallint(10043)
  2424. #define DBIERR_ALIASNOTOPEN System::Smallint(10044)
  2425. #define DBIERR_INCOMPATRECSTRUCTS System::Smallint(10045)
  2426. #define DBIERR_RESERVEDOSNAME System::Smallint(10046)
  2427. #define DBIERR_DESTMUSTBEINDEXED System::Smallint(10047)
  2428. #define DBIERR_INVALIDINDEXTYPE System::Smallint(10048)
  2429. #define DBIERR_LANGDRVMISMATCH System::Smallint(10049)
  2430. #define DBIERR_NOSUCHFILTER System::Smallint(10050)
  2431. #define DBIERR_INVALIDFILTER System::Smallint(10051)
  2432. #define DBIERR_INVALIDTABLECREATE System::Smallint(10052)
  2433. #define DBIERR_INVALIDTABLEDELETE System::Smallint(10053)
  2434. #define DBIERR_INVALIDINDEXCREATE System::Smallint(10054)
  2435. #define DBIERR_INVALIDINDEXDELETE System::Smallint(10055)
  2436. #define DBIERR_INVALIDTABLE System::Smallint(10056)
  2437. #define DBIERR_MULTIRESULTS System::Smallint(10057)
  2438. #define DBIERR_INVALIDTIME System::Smallint(10058)
  2439. #define DBIERR_INVALIDDATE System::Smallint(10059)
  2440. #define DBIERR_INVALIDTIMESTAMP System::Smallint(10060)
  2441. #define DBIERR_DIFFERENTPATH System::Smallint(10061)
  2442. #define DBIERR_MISMATCHARGS System::Smallint(10062)
  2443. #define DBIERR_FUNCTIONNOTFOUND System::Smallint(10063)
  2444. #define DBIERR_MUSTUSEBASEORDER System::Smallint(10064)
  2445. #define DBIERR_INVALIDPROCEDURENAME System::Smallint(10065)
  2446. #define DBIERR_INVALIDFLDMAP System::Smallint(10066)
  2447. #define ERRCODE_LOCKED System::Byte(1)
  2448. #define ERRCODE_UNLOCKFAILED System::Byte(2)
  2449. #define ERRCODE_FILEBUSY System::Byte(3)
  2450. #define ERRCODE_DIRBUSY System::Byte(4)
  2451. #define ERRCODE_FILELOCKED System::Byte(5)
  2452. #define ERRCODE_DIRLOCKED System::Byte(6)
  2453. #define ERRCODE_ALREADYLOCKED System::Byte(7)
  2454. #define ERRCODE_NOTLOCKED System::Byte(8)
  2455. #define ERRCODE_LOCKTIMEOUT System::Byte(9)
  2456. #define ERRCODE_GROUPLOCKED System::Byte(10)
  2457. #define ERRCODE_LOSTTBLLOCK System::Byte(11)
  2458. #define ERRCODE_LOSTEXCLACCESS System::Byte(12)
  2459. #define ERRCODE_NEEDEXCLACCESS System::Byte(13)
  2460. #define ERRCODE_RECGROUPCONFLICT System::Byte(14)
  2461. #define ERRCODE_DEADLOCK System::Byte(15)
  2462. #define ERRCODE_ACTIVETRAN System::Byte(16)
  2463. #define ERRCODE_NOACTIVETRAN System::Byte(17)
  2464. #define ERRCODE_RECLOCKFAILED System::Byte(18)
  2465. #define ERRCODE_OPTRECLOCKFAILED System::Byte(19)
  2466. #define ERRCODE_OPTRECLOCKRECDEL System::Byte(20)
  2467. #define ERRCODE_LOCKEDRECS System::Byte(21)
  2468. #define ERRCODE_NEEDWRITELOCK System::Byte(22)
  2469. #define DBIERR_LOCKED System::Smallint(10241)
  2470. #define DBIERR_UNLOCKFAILED System::Smallint(10242)
  2471. #define DBIERR_FILEBUSY System::Smallint(10243)
  2472. #define DBIERR_DIRBUSY System::Smallint(10244)
  2473. #define DBIERR_FILELOCKED System::Smallint(10245)
  2474. #define DBIERR_DIRLOCKED System::Smallint(10246)
  2475. #define DBIERR_ALREADYLOCKED System::Smallint(10247)
  2476. #define DBIERR_NOTLOCKED System::Smallint(10248)
  2477. #define DBIERR_LOCKTIMEOUT System::Smallint(10249)
  2478. #define DBIERR_GROUPLOCKED System::Smallint(10250)
  2479. #define DBIERR_LOSTTBLLOCK System::Smallint(10251)
  2480. #define DBIERR_LOSTEXCLACCESS System::Smallint(10252)
  2481. #define DBIERR_NEEDEXCLACCESS System::Smallint(10253)
  2482. #define DBIERR_RECGROUPCONFLICT System::Smallint(10254)
  2483. #define DBIERR_DEADLOCK System::Smallint(10255)
  2484. #define DBIERR_ACTIVETRAN System::Smallint(10256)
  2485. #define DBIERR_NOACTIVETRAN System::Smallint(10257)
  2486. #define DBIERR_RECLOCKFAILED System::Smallint(10258)
  2487. #define DBIERR_OPTRECLOCKFAILED System::Smallint(10259)
  2488. #define DBIERR_OPTRECLOCKRECDEL System::Smallint(10260)
  2489. #define ERRCODE_NOTSUFFFIELDRIGHTS System::Byte(1)
  2490. #define ERRCODE_NOTSUFFTABLERIGHTS System::Byte(2)
  2491. #define ERRCODE_NOTSUFFFAMILYRIGHTS System::Byte(3)
  2492. #define ERRCODE_READONLYDIR System::Byte(4)
  2493. #define ERRCODE_READONLYDB System::Byte(5)
  2494. #define ERRCODE_READONLYFLD System::Byte(6)
  2495. #define ERRCODE_TBLENCRYPTED System::Byte(7)
  2496. #define ERRCODE_NOTSUFFSQLRIGHTS System::Byte(8)
  2497. #define DBIERR_NOTSUFFFIELDRIGHTS System::Smallint(10497)
  2498. #define DBIERR_NOTSUFFTABLERIGHTS System::Smallint(10498)
  2499. #define DBIERR_NOTSUFFFAMILYRIGHTS System::Smallint(10499)
  2500. #define DBIERR_READONLYDIR System::Smallint(10500)
  2501. #define DBIERR_READONLYDB System::Smallint(10501)
  2502. #define DBIERR_READONLYFLD System::Smallint(10502)
  2503. #define DBIERR_TBLENCRYPTED System::Smallint(10503)
  2504. #define DBIERR_NOTSUFFSQLRIGHTS System::Smallint(10504)
  2505. #define ERRCODE_NOTABLOB System::Byte(1)
  2506. #define ERRCODE_BLOBOPENED System::Byte(2)
  2507. #define ERRCODE_BLOBNOTOPENED System::Byte(3)
  2508. #define ERRCODE_NA System::Byte(4)
  2509. #define ERRCODE_NOTINDEXED System::Byte(5)
  2510. #define ERRCODE_NOTINITIALIZED System::Byte(6)
  2511. #define ERRCODE_MULTIPLEINIT System::Byte(7)
  2512. #define ERRCODE_NOTSAMESESSION System::Byte(8)
  2513. #define ERRCODE_PDXDRIVERNOTACTIVE System::Byte(9)
  2514. #define ERRCODE_DRIVERNOTLOADED System::Byte(10)
  2515. #define ERRCODE_TABLEREADONLY System::Byte(11)
  2516. #define ERRCODE_NOASSOCINDEX System::Byte(12)
  2517. #define ERRCODE_HASOPENCURSORS System::Byte(13)
  2518. #define ERRCODE_NOTABLESUPPORT System::Byte(14)
  2519. #define ERRCODE_INDEXREADONLY System::Byte(15)
  2520. #define ERRCODE_NOUNIQUERECS System::Byte(16)
  2521. #define ERRCODE_NOTCURSESSION System::Byte(17)
  2522. #define ERRCODE_INVALIDKEYWORD System::Byte(18)
  2523. #define ERRCODE_CONNECTINUSE System::Byte(19)
  2524. #define ERRCODE_CONNECTNOTSHARED System::Byte(20)
  2525. #define DBIERR_NOTABLOB System::Smallint(10753)
  2526. #define DBIERR_BLOBOPENED System::Smallint(10754)
  2527. #define DBIERR_BLOBNOTOPENED System::Smallint(10755)
  2528. #define DBIERR_NA System::Smallint(10756)
  2529. #define DBIERR_NOTINDEXED System::Smallint(10757)
  2530. #define DBIERR_NOTINITIALIZED System::Smallint(10758)
  2531. #define DBIERR_MULTIPLEINIT System::Smallint(10759)
  2532. #define DBIERR_NOTSAMESESSION System::Smallint(10760)
  2533. #define DBIERR_PDXDRIVERNOTACTIVE System::Smallint(10761)
  2534. #define DBIERR_DRIVERNOTLOADED System::Smallint(10762)
  2535. #define DBIERR_TABLEREADONLY System::Smallint(10763)
  2536. #define DBIERR_NOASSOCINDEX System::Smallint(10764)
  2537. #define DBIERR_HASOPENCURSORS System::Smallint(10765)
  2538. #define DBIERR_NOTABLESUPPORT System::Smallint(10766)
  2539. #define DBIERR_INDEXREADONLY System::Smallint(10767)
  2540. #define DBIERR_NOUNIQUERECS System::Smallint(10768)
  2541. #define DBIERR_NOTCURSESSION System::Smallint(10769)
  2542. #define DBIERR_INVALIDKEYWORD System::Smallint(10770)
  2543. #define DBIERR_CONNECTINUSE System::Smallint(10771)
  2544. #define DBIERR_CONNECTNOTSHARED System::Smallint(10772)
  2545. #define ERRCODE_OSEINVFNC System::Byte(1)
  2546. #define ERRCODE_OSENOENT System::Byte(2)
  2547. #define ERRCODE_OSENOPATH System::Byte(3)
  2548. #define ERRCODE_OSEMFILE System::Byte(4)
  2549. #define ERRCODE_OSEACCES System::Byte(5)
  2550. #define ERRCODE_OSEBADF System::Byte(6)
  2551. #define ERRCODE_OSECONTR System::Byte(7)
  2552. #define ERRCODE_OSENOMEM System::Byte(8)
  2553. #define ERRCODE_OSEINVMEM System::Byte(9)
  2554. #define ERRCODE_OSEINVENV System::Byte(10)
  2555. #define ERRCODE_OSEINVFMT System::Byte(11)
  2556. #define ERRCODE_OSEINVACC System::Byte(12)
  2557. #define ERRCODE_OSEINVDAT System::Byte(13)
  2558. #define ERRCODE_OSENODEV System::Byte(15)
  2559. #define ERRCODE_OSECURDIR System::Byte(16)
  2560. #define ERRCODE_OSENOTSAM System::Byte(17)
  2561. #define ERRCODE_OSENMFILE System::Byte(18)
  2562. #define ERRCODE_OSEINVAL System::Byte(19)
  2563. #define ERRCODE_OSE2BIG System::Byte(20)
  2564. #define ERRCODE_OSENOEXEC System::Byte(21)
  2565. #define ERRCODE_OSEXDEV System::Byte(22)
  2566. #define ERRCODE_OSEDOM System::Byte(33)
  2567. #define ERRCODE_OSERANGE System::Byte(34)
  2568. #define ERRCODE_OSEEXIST System::Byte(35)
  2569. #define ERRCODE_OSUNKNOWN System::Byte(39)
  2570. #define ERRCODE_OSSHAREVIOL System::Byte(50)
  2571. #define ERRCODE_OSLOCKVIOL System::Byte(51)
  2572. #define ERRCODE_OSINT24FAIL System::Byte(52)
  2573. #define ERRCODE_OSDRIVENOTREADY System::Byte(53)
  2574. #define ERRCODE_NOTEXACT System::Byte(100)
  2575. #define ERRCODE_OSNETERR System::Byte(101)
  2576. #define ERRCODE_OSUNKNOWNSRVERR System::Byte(102)
  2577. #define ERRCODE_SERVERNOMEMORY System::Byte(103)
  2578. #define ERRCODE_OSALREADYLOCKED System::Byte(104)
  2579. #define ERRCODE_OSNOTLOCKED System::Byte(105)
  2580. #define ERRCODE_NOSERVERSW System::Byte(106)
  2581. #define DBIERR_OSEINVFNC System::Smallint(11009)
  2582. #define DBIERR_OSENOENT System::Smallint(11010)
  2583. #define DBIERR_OSENOPATH System::Smallint(11011)
  2584. #define DBIERR_OSEMFILE System::Smallint(11012)
  2585. #define DBIERR_OSEACCES System::Smallint(11013)
  2586. #define DBIERR_OSEBADF System::Smallint(11014)
  2587. #define DBIERR_OSECONTR System::Smallint(11015)
  2588. #define DBIERR_OSENOMEM System::Smallint(11016)
  2589. #define DBIERR_OSEINVMEM System::Smallint(11017)
  2590. #define DBIERR_OSEINVENV System::Smallint(11018)
  2591. #define DBIERR_OSEINVFMT System::Smallint(11019)
  2592. #define DBIERR_OSEINVACC System::Smallint(11020)
  2593. #define DBIERR_OSEINVDAT System::Smallint(11021)
  2594. #define DBIERR_OSENODEV System::Smallint(11023)
  2595. #define DBIERR_OSECURDIR System::Smallint(11024)
  2596. #define DBIERR_OSENOTSAM System::Smallint(11025)
  2597. #define DBIERR_OSENMFILE System::Smallint(11026)
  2598. #define DBIERR_OSEINVAL System::Smallint(11027)
  2599. #define DBIERR_OSE2BIG System::Smallint(11028)
  2600. #define DBIERR_OSENOEXEC System::Smallint(11029)
  2601. #define DBIERR_OSEXDEV System::Smallint(11030)
  2602. #define DBIERR_OSEDOM System::Smallint(11041)
  2603. #define DBIERR_OSERANGE System::Smallint(11042)
  2604. #define DBIERR_OSEEXIST System::Smallint(11043)
  2605. #define DBIERR_OSUNKNOWN System::Smallint(11047)
  2606. #define DBIERR_OSSHAREVIOL System::Smallint(11058)
  2607. #define DBIERR_OSLOCKVIOL System::Smallint(11059)
  2608. #define DBIERR_OSNETERR System::Smallint(11109)
  2609. #define DBIERR_OSINT24FAIL System::Smallint(11060)
  2610. #define DBIERR_OSDRIVENOTREADY System::Smallint(11061)
  2611. #define DBIERR_NOTEXACT System::Smallint(11108)
  2612. #define DBIERR_OSUNKNOWNSRVERR System::Smallint(11110)
  2613. #define DBIERR_SERVERNOMEMORY System::Smallint(11111)
  2614. #define DBIERR_OSALREADYLOCKED System::Smallint(11112)
  2615. #define DBIERR_OSNOTLOCKED System::Smallint(11113)
  2616. #define DBIERR_NOSERVERSW System::Smallint(11114)
  2617. #define ERRCODE_NETINITERR System::Byte(1)
  2618. #define ERRCODE_NETUSERLIMIT System::Byte(2)
  2619. #define ERRCODE_NETFILEVERSION System::Byte(3)
  2620. #define ERRCODE_NETFILELOCKED System::Byte(4)
  2621. #define ERRCODE_DIRNOTPRIVATE System::Byte(5)
  2622. #define ERRCODE_NETMULTIPLE System::Byte(6)
  2623. #define ERRCODE_NETUNKNOWN System::Byte(7)
  2624. #define ERRCODE_SHAREDFILE System::Byte(8)
  2625. #define ERRCODE_SHARENOTLOADED System::Byte(9)
  2626. #define ERRCODE_NOTONANETWORK System::Byte(10)
  2627. #define ERRCODE_SQLCOMMLOST System::Byte(11)
  2628. #define ERRCODE_SERVERCOMMLOST System::Byte(12)
  2629. #define ERRCODE_SQLSERVERNOTFOUND System::Byte(13)
  2630. #define ERRCODE_SERVERNOTFOUND System::Byte(14)
  2631. #define DBIERR_NETINITERR System::Smallint(11265)
  2632. #define DBIERR_NETUSERLIMIT System::Smallint(11266)
  2633. #define DBIERR_NETFILEVERSION System::Smallint(11267)
  2634. #define DBIERR_NETFILELOCKED System::Smallint(11268)
  2635. #define DBIERR_DIRNOTPRIVATE System::Smallint(11269)
  2636. #define DBIERR_NETMULTIPLE System::Smallint(11270)
  2637. #define DBIERR_NETUNKNOWN System::Smallint(11271)
  2638. #define DBIERR_SHAREDFILE System::Smallint(11272)
  2639. #define DBIERR_SHARENOTLOADED System::Smallint(11273)
  2640. #define DBIERR_NOTONANETWORK System::Smallint(11274)
  2641. #define DBIERR_SQLCOMMLOST System::Smallint(11275)
  2642. #define DBIERR_SERVERCOMMLOST System::Smallint(11276)
  2643. #define DBIERR_SQLSERVERNOTFOUND System::Smallint(11277)
  2644. #define DBIERR_SERVERNOTFOUND System::Smallint(11278)
  2645. #define ERRCODE_WRONGDRVNAME System::Byte(1)
  2646. #define ERRCODE_WRONGSYSVER System::Byte(2)
  2647. #define ERRCODE_WRONGDRVVER System::Byte(3)
  2648. #define ERRCODE_WRONGDRVTYPE System::Byte(4)
  2649. #define ERRCODE_CANNOTLOADDRV System::Byte(5)
  2650. #define ERRCODE_CANNOTLOADLDDRV System::Byte(6)
  2651. #define ERRCODE_VENDINITFAIL System::Byte(7)
  2652. #define ERRCODE_DRIVERRESTRICTED System::Byte(8)
  2653. #define DBIERR_WRONGDRVNAME System::Smallint(15873)
  2654. #define DBIERR_WRONGSYSVER System::Smallint(15874)
  2655. #define DBIERR_WRONGDRVVER System::Smallint(15875)
  2656. #define DBIERR_WRONGDRVTYPE System::Smallint(15876)
  2657. #define DBIERR_CANNOTLOADDRV System::Smallint(15877)
  2658. #define DBIERR_CANNOTLOADLDDRV System::Smallint(15878)
  2659. #define DBIERR_VENDINITFAIL System::Smallint(15879)
  2660. #define DBIERR_DRIVERRESTRICTED System::Smallint(15880)
  2661. #define DBICODE_AMBJOASY System::Byte(1)
  2662. #define DBICODE_AMBJOSYM System::Byte(2)
  2663. #define DBICODE_AMBOUTEX System::Byte(3)
  2664. #define DBICODE_AMBOUTPR System::Byte(4)
  2665. #define DBICODE_AMBSYMAS System::Byte(5)
  2666. #define DBICODE_ASETOPER System::Byte(6)
  2667. #define DBICODE_AVENUMDA System::Byte(7)
  2668. #define DBICODE_BADEXPR1 System::Byte(8)
  2669. #define DBICODE_BADFLDOR System::Byte(9)
  2670. #define DBICODE_BADVNAME System::Byte(10)
  2671. #define DBICODE_BITMAPER System::Byte(11)
  2672. #define DBICODE_CALCBADR System::Byte(12)
  2673. #define DBICODE_CALCTYPE System::Byte(13)
  2674. #define DBICODE_CHGTO1TI System::Byte(14)
  2675. #define DBICODE_CHGTOCHG System::Byte(15)
  2676. #define DBICODE_CHGTOEXP System::Byte(16)
  2677. #define DBICODE_CHGTOINS System::Byte(17)
  2678. #define DBICODE_CHGTONEW System::Byte(18)
  2679. #define DBICODE_CHGTOVAL System::Byte(19)
  2680. #define DBICODE_CHKMRKFI System::Byte(20)
  2681. #define DBICODE_CHNAMBIG System::Byte(21)
  2682. #define DBICODE_CHUNKERR System::Byte(22)
  2683. #define DBICODE_COLUM255 System::Byte(23)
  2684. #define DBICODE_CONAFTAS System::Byte(24)
  2685. #define DBICODE_DEL1TIME System::Byte(25)
  2686. #define DBICODE_DELAMBIG System::Byte(26)
  2687. #define DBICODE_DELFRDEL System::Byte(27)
  2688. #define DBICODE_EGFLDTYP System::Byte(28)
  2689. #define DBICODE_EXAMINOR System::Byte(29)
  2690. #define DBICODE_EXPRTYPS System::Byte(30)
  2691. #define DBICODE_EXTRACOM System::Byte(31)
  2692. #define DBICODE_EXTRAORO System::Byte(32)
  2693. #define DBICODE_EXTRAQRO System::Byte(33)
  2694. #define DBICODE_FIND1ATT System::Byte(34)
  2695. #define DBICODE_FINDANST System::Byte(35)
  2696. #define DBICODE_GRPNOSET System::Byte(36)
  2697. #define DBICODE_GRPSTROW System::Byte(37)
  2698. #define DBICODE_IDFINLCO System::Byte(38)
  2699. #define DBICODE_IDFPERLI System::Byte(39)
  2700. #define DBICODE_INANEXPR System::Byte(40)
  2701. #define DBICODE_INS1TIME System::Byte(41)
  2702. #define DBICODE_INSAMBIG System::Byte(42)
  2703. #define DBICODE_INSDELCH System::Byte(43)
  2704. #define DBICODE_INSEXPRR System::Byte(44)
  2705. #define DBICODE_INSTOINS System::Byte(45)
  2706. #define DBICODE_ISARRAY System::Byte(46)
  2707. #define DBICODE_LABELERR System::Byte(47)
  2708. #define DBICODE_LINKCALC System::Byte(48)
  2709. #define DBICODE_LNGVNAME System::Byte(49)
  2710. #define DBICODE_LONGQURY System::Byte(50)
  2711. #define DBICODE_MEMVPROC System::Byte(51)
  2712. #define DBICODE_MISNGCOM System::Byte(52)
  2713. #define DBICODE_MISNGRPA System::Byte(53)
  2714. #define DBICODE_MISSRTQU System::Byte(54)
  2715. #define DBICODE_NAMTWICE System::Byte(55)
  2716. #define DBICODE_NOCHKMAR System::Byte(56)
  2717. #define DBICODE_NODEFOCC System::Byte(57)
  2718. #define DBICODE_NOGROUPS System::Byte(58)
  2719. #define DBICODE_NONSENSE System::Byte(59)
  2720. #define DBICODE_NOPATTER System::Byte(60)
  2721. #define DBICODE_NOSUCHDA System::Byte(61)
  2722. #define DBICODE_NOVALUE System::Byte(62)
  2723. #define DBICODE_ONLYCONS System::Byte(63)
  2724. #define DBICODE_ONLYSETR System::Byte(64)
  2725. #define DBICODE_OUTSENS1 System::Byte(65)
  2726. #define DBICODE_OUTTWIC1 System::Byte(66)
  2727. #define DBICODE_PAROWCNT System::Byte(67)
  2728. #define DBICODE_PERSEPAR System::Byte(68)
  2729. #define DBICODE_PROCPLSW System::Byte(69)
  2730. #define DBICODE_PWINSRTS System::Byte(70)
  2731. #define DBICODE_PWMODRTS System::Byte(71)
  2732. #define DBICODE_QBEFLDFOUND System::Byte(72)
  2733. #define DBICODE_QBENOFENCE System::Byte(73)
  2734. #define DBICODE_QBENOFENCET System::Byte(74)
  2735. #define DBICODE_QBENOHEADERT System::Byte(75)
  2736. #define DBICODE_QBENOTAB System::Byte(76)
  2737. #define DBICODE_QBENUMCOLS System::Byte(77)
  2738. #define DBICODE_QBEOPENTAB System::Byte(78)
  2739. #define DBICODE_QBETWICE System::Byte(79)
  2740. #define DBICODE_QRYNOANSWER System::Byte(80)
  2741. #define DBICODE_QRYNOTPREP System::Byte(81)
  2742. #define DBICODE_QUAINDEL System::Byte(82)
  2743. #define DBICODE_QUAININS System::Byte(83)
  2744. #define DBICODE_RAGININS System::Byte(84)
  2745. #define DBICODE_RAGINSET System::Byte(85)
  2746. #define DBICODE_ROWUSERR System::Byte(86)
  2747. #define DBICODE_SETEXPEC System::Byte(87)
  2748. #define DBICODE_SETVAMB1 System::Byte(88)
  2749. #define DBICODE_SETVBAD1 System::Byte(89)
  2750. #define DBICODE_SETVDEF1 System::Byte(90)
  2751. #define DBICODE_SUMNUMBE System::Byte(91)
  2752. #define DBICODE_TBLISWP3 System::Byte(92)
  2753. #define DBICODE_TOKENNOT System::Byte(93)
  2754. #define DBICODE_TWOOUTR1 System::Byte(94)
  2755. #define DBICODE_TYPEMISM System::Byte(95)
  2756. #define DBICODE_UNRELQ1 System::Byte(96)
  2757. #define DBICODE_UNUSEDST System::Byte(97)
  2758. #define DBICODE_USEINSDE System::Byte(98)
  2759. #define DBICODE_USEOFCHG System::Byte(99)
  2760. #define DBICODE_VARMUSTF System::Byte(100)
  2761. #define DBICODE_REGISTER System::Byte(101)
  2762. #define DBICODE_LONGEXPR System::Byte(102)
  2763. #define DBICODE_REFRESH System::Byte(103)
  2764. #define DBICODE_CANCEXCEPT System::Byte(104)
  2765. #define DBICODE_DBEXCEPT System::Byte(105)
  2766. #define DBICODE_MEMEXCEPT System::Byte(106)
  2767. #define DBICODE_FATALEXCEPT System::Byte(107)
  2768. #define DBICODE_QRYNIY System::Byte(108)
  2769. #define DBICODE_BADFORMAT System::Byte(109)
  2770. #define DBICODE_QRYEMPTY System::Byte(110)
  2771. #define DBICODE_NOQRYTOPREP System::Byte(111)
  2772. #define DBICODE_BUFFTOOSMALL System::Byte(112)
  2773. #define DBICODE_QRYNOTPARSE System::Byte(113)
  2774. #define DBICODE_NOTHANDLE System::Byte(114)
  2775. #define DBICODE_QRYSYNTERR System::Byte(115)
  2776. #define DBICODE_QXFLDCOUNT System::Byte(116)
  2777. #define DBICODE_QXFLDSYMNOTFOUND System::Byte(117)
  2778. #define DBICODE_QXTBLSYMNOTFOUND System::Byte(118)
  2779. #define DBICODE_BLOBTERM System::Byte(119)
  2780. #define DBICODE_BLOBERR System::Byte(120)
  2781. #define DBICODE_RESTARTQRY System::Byte(121)
  2782. #define DBICODE_UNKNOWNANSTYPE System::Byte(122)
  2783. #define DBICODE_SQLG_MDIST System::Byte(123)
  2784. #define DBICODE_SQLG_NOARI System::Byte(124)
  2785. #define DBICODE_SQLG_LIKEN System::Byte(125)
  2786. #define DBICODE_SQLG_ALPHO System::Byte(126)
  2787. #define DBICODE_SQLG_DATEO System::Byte(127)
  2788. #define DBICODE_SQLG_RELOP System::Byte(128)
  2789. #define DBICODE_SQLG_ONLYC System::Byte(129)
  2790. #define DBICODE_SQLG_CNTLN System::Byte(130)
  2791. #define DBICODE_SQLG_CHINI System::Byte(131)
  2792. #define DBICODE_SQLG_UNION System::Byte(132)
  2793. #define DBICODE_SQLG_SLFIN System::Byte(133)
  2794. #define DBICODE_SQLG_OTJVR System::Byte(134)
  2795. #define DBICODE_SQLG_STROW System::Byte(135)
  2796. #define DBICODE_SQLG_QUANT System::Byte(136)
  2797. #define DBICODE_SQLG_REGSO System::Byte(137)
  2798. #define DBICODE_SQLG_COUNT System::Byte(138)
  2799. #define DBICODE_SQLG_AVERA System::Byte(139)
  2800. #define DBICODE_SQLG_DATEA System::Byte(140)
  2801. #define DBICODE_SQLG_BADPT System::Byte(141)
  2802. #define DBICODE_SQLG_RELPA System::Byte(142)
  2803. #define DBICODE_SQLG_PATRN System::Byte(143)
  2804. #define DBICODE_SQLG_FNDSU System::Byte(144)
  2805. #define DBICODE_SQLG_IFDCS System::Byte(145)
  2806. #define DBICODE_SQLG_IDCCO System::Byte(146)
  2807. #define DBICODE_SQLG_ONLYI System::Byte(147)
  2808. #define DBICODE_SQLG_SQLDIALECT System::Byte(148)
  2809. #define DBICODE_SQLG_NOQUERY System::Byte(149)
  2810. #define DBICODE_BLOBGROUP System::Byte(150)
  2811. #define DBICODE_QRYNOPROP System::Byte(151)
  2812. #define DBICODE_ANSTYPNOTSUP System::Byte(152)
  2813. #define DBICODE_ANSALIASNOTSUP System::Byte(153)
  2814. #define DBICODE_INSBLOBREQ System::Byte(154)
  2815. #define DBICODE_CHGUNIQUENDXREQ System::Byte(155)
  2816. #define DBICODE_DELUNIQUENDXREQ System::Byte(156)
  2817. #define DBICODE_SQLNOFULLUPDATE System::Byte(157)
  2818. #define DBICODE_CANTEXECREMOTE System::Byte(158)
  2819. #define DBICODE_UNEXPECTEDEOC System::Byte(159)
  2820. #define DBICODE_SQLPARAMNOTSET System::Byte(160)
  2821. #define DBICODE_QUERYTOOLONG System::Byte(161)
  2822. #define DBICODE_NOSUCHRELORALIAS System::Byte(170)
  2823. #define DBICODE_TYPEAMBIGUITY System::Byte(171)
  2824. #define DBICODE_ORDERBYNOTAPROJ System::Byte(172)
  2825. #define DBICODE_SQLPARSE System::Byte(173)
  2826. #define DBICODE_CONSTRAINTFAILED System::Byte(174)
  2827. #define DBICODE_NOTGROUPINGFIELD System::Byte(175)
  2828. #define DBICODE_UDFNOTDEFINED System::Byte(176)
  2829. #define DBICODE_UDFERROR System::Byte(177)
  2830. #define DBICODE_SINGLEROWERROR System::Byte(178)
  2831. #define DBICODE_GROUPEXPR System::Byte(179)
  2832. #define DBICODE_QUERYTEXT System::Byte(180)
  2833. #define DBICODE_ANSIJOINSUP System::Byte(181)
  2834. #define DBICODE_DISTUNION System::Byte(182)
  2835. #define DBICODE_GROUPBYREQ System::Byte(183)
  2836. #define DBICODE_INSUPDAUTOIC System::Byte(184)
  2837. #define DBICODE_UPDREFINTSINGLE System::Byte(185)
  2838. #define DBIERR_AMBJOASY System::Smallint(11777)
  2839. #define DBIERR_AMBJOSYM System::Smallint(11778)
  2840. #define DBIERR_AMBOUTEX System::Smallint(11779)
  2841. #define DBIERR_AMBOUTPR System::Smallint(11780)
  2842. #define DBIERR_AMBSYMAS System::Smallint(11781)
  2843. #define DBIERR_ASETOPER System::Smallint(11782)
  2844. #define DBIERR_AVENUMDA System::Smallint(11783)
  2845. #define DBIERR_BADEXPR1 System::Smallint(11784)
  2846. #define DBIERR_BADFLDOR System::Smallint(11785)
  2847. #define DBIERR_BADVNAME System::Smallint(11786)
  2848. #define DBIERR_BITMAPER System::Smallint(11787)
  2849. #define DBIERR_CALCBADR System::Smallint(11788)
  2850. #define DBIERR_CALCTYPE System::Smallint(11789)
  2851. #define DBIERR_CHGTO1TI System::Smallint(11790)
  2852. #define DBIERR_CHGTOCHG System::Smallint(11791)
  2853. #define DBIERR_CHGTOEXP System::Smallint(11792)
  2854. #define DBIERR_CHGTOINS System::Smallint(11793)
  2855. #define DBIERR_CHGTONEW System::Smallint(11794)
  2856. #define DBIERR_CHGTOVAL System::Smallint(11795)
  2857. #define DBIERR_CHKMRKFI System::Smallint(11796)
  2858. #define DBIERR_CHNAMBIG System::Smallint(11797)
  2859. #define DBIERR_CHUNKERR System::Smallint(11798)
  2860. #define DBIERR_COLUM255 System::Smallint(11799)
  2861. #define DBIERR_CONAFTAS System::Smallint(11800)
  2862. #define DBIERR_DEL1TIME System::Smallint(11801)
  2863. #define DBIERR_DELAMBIG System::Smallint(11802)
  2864. #define DBIERR_DELFRDEL System::Smallint(11803)
  2865. #define DBIERR_EGFLDTYP System::Smallint(11804)
  2866. #define DBIERR_EXAMINOR System::Smallint(11805)
  2867. #define DBIERR_EXPRTYPS System::Smallint(11806)
  2868. #define DBIERR_EXTRACOM System::Smallint(11807)
  2869. #define DBIERR_EXTRAORO System::Smallint(11808)
  2870. #define DBIERR_EXTRAQRO System::Smallint(11809)
  2871. #define DBIERR_FIND1ATT System::Smallint(11810)
  2872. #define DBIERR_FINDANST System::Smallint(11811)
  2873. #define DBIERR_GRPNOSET System::Smallint(11812)
  2874. #define DBIERR_GRPSTROW System::Smallint(11813)
  2875. #define DBIERR_IDFINLCO System::Smallint(11814)
  2876. #define DBIERR_IDFPERLI System::Smallint(11815)
  2877. #define DBIERR_INANEXPR System::Smallint(11816)
  2878. #define DBIERR_INS1TIME System::Smallint(11817)
  2879. #define DBIERR_INSAMBIG System::Smallint(11818)
  2880. #define DBIERR_INSDELCH System::Smallint(11819)
  2881. #define DBIERR_INSEXPRR System::Smallint(11820)
  2882. #define DBIERR_INSTOINS System::Smallint(11821)
  2883. #define DBIERR_ISARRAY System::Smallint(11822)
  2884. #define DBIERR_LABELERR System::Smallint(11823)
  2885. #define DBIERR_LINKCALC System::Smallint(11824)
  2886. #define DBIERR_LNGVNAME System::Smallint(11825)
  2887. #define DBIERR_LONGQURY System::Smallint(11826)
  2888. #define DBIERR_MEMVPROC System::Smallint(11827)
  2889. #define DBIERR_MISNGCOM System::Smallint(11828)
  2890. #define DBIERR_MISNGRPA System::Smallint(11829)
  2891. #define DBIERR_MISSRTQU System::Smallint(11830)
  2892. #define DBIERR_NAMTWICE System::Smallint(11831)
  2893. #define DBIERR_NOCHKMAR System::Smallint(11832)
  2894. #define DBIERR_NODEFOCC System::Smallint(11833)
  2895. #define DBIERR_NOGROUPS System::Smallint(11834)
  2896. #define DBIERR_NONSENSE System::Smallint(11835)
  2897. #define DBIERR_NOPATTER System::Smallint(11836)
  2898. #define DBIERR_NOSUCHDA System::Smallint(11837)
  2899. #define DBIERR_NOVALUE System::Smallint(11838)
  2900. #define DBIERR_ONLYCONS System::Smallint(11839)
  2901. #define DBIERR_ONLYSETR System::Smallint(11840)
  2902. #define DBIERR_OUTSENS1 System::Smallint(11841)
  2903. #define DBIERR_OUTTWIC1 System::Smallint(11842)
  2904. #define DBIERR_PAROWCNT System::Smallint(11843)
  2905. #define DBIERR_PERSEPAR System::Smallint(11844)
  2906. #define DBIERR_PROCPLSW System::Smallint(11845)
  2907. #define DBIERR_PWINSRTS System::Smallint(11846)
  2908. #define DBIERR_PWMODRTS System::Smallint(11847)
  2909. #define DBIERR_QBEFLDFOUND System::Smallint(11848)
  2910. #define DBIERR_QBENOFENCE System::Smallint(11849)
  2911. #define DBIERR_QBENOFENCET System::Smallint(11850)
  2912. #define DBIERR_QBENOHEADERT System::Smallint(11851)
  2913. #define DBIERR_QBENOTAB System::Smallint(11852)
  2914. #define DBIERR_QBENUMCOLS System::Smallint(11853)
  2915. #define DBIERR_QBEOPENTAB System::Smallint(11854)
  2916. #define DBIERR_QBETWICE System::Smallint(11855)
  2917. #define DBIERR_QRYNOANSWER System::Smallint(11856)
  2918. #define DBIERR_QRYNOTPREP System::Smallint(11857)
  2919. #define DBIERR_QUAINDEL System::Smallint(11858)
  2920. #define DBIERR_QUAININS System::Smallint(11859)
  2921. #define DBIERR_RAGININS System::Smallint(11860)
  2922. #define DBIERR_RAGINSET System::Smallint(11861)
  2923. #define DBIERR_ROWUSERR System::Smallint(11862)
  2924. #define DBIERR_SETEXPEC System::Smallint(11863)
  2925. #define DBIERR_SETVAMB1 System::Smallint(11864)
  2926. #define DBIERR_SETVBAD1 System::Smallint(11865)
  2927. #define DBIERR_SETVDEF1 System::Smallint(11866)
  2928. #define DBIERR_SUMNUMBE System::Smallint(11867)
  2929. #define DBIERR_TBLISWP3 System::Smallint(11868)
  2930. #define DBIERR_TOKENNOT System::Smallint(11869)
  2931. #define DBIERR_TWOOUTR1 System::Smallint(11870)
  2932. #define DBIERR_TYPEMISM System::Smallint(11871)
  2933. #define DBIERR_UNRELQ1 System::Smallint(11872)
  2934. #define DBIERR_UNUSEDST System::Smallint(11873)
  2935. #define DBIERR_USEINSDE System::Smallint(11874)
  2936. #define DBIERR_USEOFCHG System::Smallint(11875)
  2937. #define DBIERR_VARMUSTF System::Smallint(11876)
  2938. #define DBIERR_REGISTER System::Smallint(11877)
  2939. #define DBIERR_LONGEXPR System::Smallint(11878)
  2940. #define DBIERR_REFRESH System::Smallint(11879)
  2941. #define DBIERR_CANCEXCEPT System::Smallint(11880)
  2942. #define DBIERR_DBEXCEPT System::Smallint(11881)
  2943. #define DBIERR_MEMEXCEPT System::Smallint(11882)
  2944. #define DBIERR_FATALEXCEPT System::Smallint(11883)
  2945. #define DBIERR_QRYNIY System::Smallint(11884)
  2946. #define DBIERR_BADFORMAT System::Smallint(11885)
  2947. #define DBIERR_QRYEMPTY System::Smallint(11886)
  2948. #define DBIERR_NOQRYTOPREP System::Smallint(11887)
  2949. #define DBIERR_BUFFTOOSMALL System::Smallint(11888)
  2950. #define DBIERR_QRYNOTPARSE System::Smallint(11889)
  2951. #define DBIERR_NOTHANDLE System::Smallint(11890)
  2952. #define DBIERR_QRYSYNTERR System::Smallint(11891)
  2953. #define DBIERR_QXFLDCOUNT System::Smallint(11892)
  2954. #define DBIERR_QXFLDSYMNOTFOUND System::Smallint(11893)
  2955. #define DBIERR_QXTBLSYMNOTFOUND System::Smallint(11894)
  2956. #define DBIERR_BLOBTERM System::Smallint(11895)
  2957. #define DBIERR_BLOBERR System::Smallint(11896)
  2958. #define DBIERR_RESTARTQRY System::Smallint(11897)
  2959. #define DBIERR_UNKNOWNANSTYPE System::Smallint(11898)
  2960. #define DBIERR_SQLG_MDIST System::Smallint(11899)
  2961. #define DBIERR_SQLG_NOARI System::Smallint(11900)
  2962. #define DBIERR_SQLG_LIKEN System::Smallint(11901)
  2963. #define DBIERR_SQLG_ALPHO System::Smallint(11902)
  2964. #define DBIERR_SQLG_DATEO System::Smallint(11903)
  2965. #define DBIERR_SQLG_RELOP System::Smallint(11904)
  2966. #define DBIERR_SQLG_ONLYC System::Smallint(11905)
  2967. #define DBIERR_SQLG_CNTLN System::Smallint(11906)
  2968. #define DBIERR_SQLG_CHINI System::Smallint(11907)
  2969. #define DBIERR_SQLG_UNION System::Smallint(11908)
  2970. #define DBIERR_SQLG_SLFIN System::Smallint(11909)
  2971. #define DBIERR_SQLG_OTJVR System::Smallint(11910)
  2972. #define DBIERR_SQLG_STROW System::Smallint(11911)
  2973. #define DBIERR_SQLG_QUANT System::Smallint(11912)
  2974. #define DBIERR_SQLG_REGSO System::Smallint(11913)
  2975. #define DBIERR_SQLG_COUNT System::Smallint(11914)
  2976. #define DBIERR_SQLG_AVERA System::Smallint(11915)
  2977. #define DBIERR_SQLG_DATEA System::Smallint(11916)
  2978. #define DBIERR_SQLG_BADPT System::Smallint(11917)
  2979. #define DBIERR_SQLG_RELPA System::Smallint(11918)
  2980. #define DBIERR_SQLG_PATRN System::Smallint(11919)
  2981. #define DBIERR_SQLG_FNDSU System::Smallint(11920)
  2982. #define DBIERR_SQLG_IFDCS System::Smallint(11921)
  2983. #define DBIERR_SQLG_IDCCO System::Smallint(11922)
  2984. #define DBIERR_SQLG_ONLYI System::Smallint(11923)
  2985. #define DBIERR_SQLG_SQLDIALECT System::Smallint(11924)
  2986. #define DBIERR_SQLG_NOQUERY System::Smallint(11925)
  2987. #define DBIERR_BLOBGROUP System::Smallint(11926)
  2988. #define DBIERR_QRYNOPROP System::Smallint(11927)
  2989. #define DBIERR_ANSTYPNOTSUP System::Smallint(11928)
  2990. #define DBIERR_ANSALIASNOTSUP System::Smallint(11929)
  2991. #define DBIERR_INSBLOBREQ System::Smallint(11930)
  2992. #define DBIERR_CHGUNIQUENDXREQ System::Smallint(11931)
  2993. #define DBIERR_DELUNIQUENDXREQ System::Smallint(11932)
  2994. #define DBIERR_SQLNOFULLUPDATE System::Smallint(11933)
  2995. #define DBIERR_CANTEXECREMOTE System::Smallint(11934)
  2996. #define DBIERR_UNEXPECTEDEOC System::Smallint(11935)
  2997. #define DBIERR_SQLPARAMNOTSET System::Smallint(11936)
  2998. #define DBIERR_QUERYTOOLONG System::Smallint(11937)
  2999. #define DBIERR_NOSUCHRELORALIAS System::Smallint(11946)
  3000. #define DBIERR_TYPEAMBIGUITY System::Smallint(11947)
  3001. #define DBIERR_ORDERBYNOTAPROJ System::Smallint(11948)
  3002. #define DBIERR_SQLPARSE System::Smallint(11949)
  3003. #define DBIERR_CONSTRAINTFAILED System::Smallint(11950)
  3004. #define DBIERR_NOTGROUPINGFIELD System::Smallint(11951)
  3005. #define DBIERR_UDFNOTDEFINED System::Smallint(11952)
  3006. #define DBIERR_UDFERROR System::Smallint(11953)
  3007. #define DBIERR_SINGLEROWERROR System::Smallint(11954)
  3008. #define DBIERR_GROUPEXPR System::Smallint(11955)
  3009. #define DBIERR_QUERYTEXT System::Smallint(11956)
  3010. #define DBIERR_ANSIJOINSUP System::Smallint(11957)
  3011. #define DBIERR_DISTUNION System::Smallint(11958)
  3012. #define DBIERR_GROUPBYREQ System::Smallint(11959)
  3013. #define DBIERR_INSUPDAUTOINC System::Smallint(11960)
  3014. #define DBIERR_UPDREFINTSINGLE System::Smallint(11961)
  3015. #define ERRCODE_INTERFACEVER System::Byte(1)
  3016. #define ERRCODE_INDEXOUTOFDATE System::Byte(2)
  3017. #define ERRCODE_OLDVERSION System::Byte(3)
  3018. #define ERRCODE_VALFILEINVALID System::Byte(4)
  3019. #define ERRCODE_BLOBVERSION System::Byte(5)
  3020. #define ERRCODE_ENGQRYMISMATCH System::Byte(6)
  3021. #define ERRCODE_SERVERVERSION System::Byte(7)
  3022. #define ERRCODE_TABLELEVEL System::Byte(8)
  3023. #define DBIERR_INTERFACEVER System::Smallint(12033)
  3024. #define DBIERR_INDEXOUTOFDATE System::Smallint(12034)
  3025. #define DBIERR_OLDVERSION System::Smallint(12035)
  3026. #define DBIERR_VALFILEINVALID System::Smallint(12036)
  3027. #define DBIERR_BLOBVERSION System::Smallint(12037)
  3028. #define DBIERR_ENGQRYMISMATCH System::Smallint(12038)
  3029. #define DBIERR_SERVERVERSION System::Smallint(12039)
  3030. #define DBIERR_TABLELEVEL System::Smallint(12040)
  3031. #define ERRCODE_NOTSUPPORTED System::Byte(1)
  3032. #define ERRCODE_NIY System::Byte(2)
  3033. #define ERRCODE_TABLESQL System::Byte(3)
  3034. #define ERRCODE_SEARCHCOLREQD System::Byte(4)
  3035. #define ERRCODE_NOMULTCONNECT System::Byte(5)
  3036. #define ERRCODE_NODBASEEXPR System::Byte(6)
  3037. #define DBIERR_NOTSUPPORTED System::Smallint(12289)
  3038. #define DBIERR_NIY System::Smallint(12290)
  3039. #define DBIERR_TABLESQL System::Smallint(12291)
  3040. #define DBIERR_SEARCHCOLREQD System::Smallint(12292)
  3041. #define DBIERR_NOMULTCONNECT System::Smallint(12293)
  3042. #define DBIERR_NODBASEEXPR System::Smallint(12294)
  3043. #define ERRCODE_INVALIDDBSPEC System::Byte(1)
  3044. #define ERRCODE_UNKNOWNDBTYPE System::Byte(2)
  3045. #define ERRCODE_INVALIDSYSDATA System::Byte(3)
  3046. #define ERRCODE_UNKNOWNNETTYPE System::Byte(4)
  3047. #define ERRCODE_NOTONTHATNET System::Byte(5)
  3048. #define ERRCODE_INVALIDCFGPARAM System::Byte(6)
  3049. #define DBIERR_INVALIDDBSPEC System::Smallint(12545)
  3050. #define DBIERR_UNKNOWNDBTYPE System::Smallint(12546)
  3051. #define DBIERR_INVALIDSYSDATA System::Smallint(12547)
  3052. #define DBIERR_UNKNOWNNETTYPE System::Smallint(12548)
  3053. #define DBIERR_NOTONTHATNET System::Smallint(12549)
  3054. #define DBIERR_INVALIDCFGPARAM System::Smallint(12550)
  3055. #define ERRCODE_OBJIMPLICITLYDROPPED System::Byte(1)
  3056. #define ERRCODE_OBJMAYBETRUNCATED System::Byte(2)
  3057. #define ERRCODE_OBJIMPLICITLYMODIFIED System::Byte(3)
  3058. #define ERRCODE_VALIDATEDATA System::Byte(4)
  3059. #define ERRCODE_VALFIELDMODIFIED System::Byte(5)
  3060. #define ERRCODE_TABLELEVELCHANGED System::Byte(6)
  3061. #define ERRCODE_COPYLINKEDTABLES System::Byte(7)
  3062. #define ERRCODE_OTHERSERVERLOADED System::Byte(8)
  3063. #define ERRCODE_OBJIMPLICITLYTRUNCATED System::Byte(9)
  3064. #define ERRCODE_VCHKMAYNOTBEENFORCED System::Byte(10)
  3065. #define ERRCODE_MULTIPLEUNIQRECS System::Byte(11)
  3066. #define ERRCODE_FIELDMUSTBETRIMMED System::Byte(12)
  3067. #define DBIERR_OBJIMPLICITLYDROPPED System::Smallint(12801)
  3068. #define DBIERR_OBJMAYBETRUNCATED System::Smallint(12802)
  3069. #define DBIERR_OBJIMPLICITLYMODIFIED System::Smallint(12803)
  3070. #define DBIERR_VALIDATEDATA System::Smallint(12804)
  3071. #define DBIERR_VALFIELDMODIFIED System::Smallint(12805)
  3072. #define DBIERR_TABLELEVELCHANGED System::Smallint(12806)
  3073. #define DBIERR_COPYLINKEDTABLES System::Smallint(12807)
  3074. #define DBIERR_OTHERSERVERLOADED System::Smallint(12808)
  3075. #define DBIERR_OBJIMPLICITLYTRUNCATED System::Smallint(12809)
  3076. #define DBIERR_VCHKMAYNOTBEENFORCED System::Smallint(12810)
  3077. #define DBIERR_MULTIPLEUNIQRECS System::Smallint(12811)
  3078. #define DBIERR_FIELDMUSTBETRIMMED System::Smallint(12812)
  3079. #define ERRCODE_FILEEXISTS System::Byte(1)
  3080. #define ERRCODE_BLOBMODIFIED System::Byte(2)
  3081. #define ERRCODE_UNKNOWNSQL System::Byte(3)
  3082. #define ERRCODE_TABLEEXISTS System::Byte(4)
  3083. #define ERRCODE_PDX10TABLE System::Byte(5)
  3084. #define ERRCODE_UPDATEABORT System::Byte(6)
  3085. #define DBIERR_FILEEXISTS System::Smallint(13057)
  3086. #define DBIERR_BLOBMODIFIED System::Smallint(13058)
  3087. #define DBIERR_UNKNOWNSQL System::Smallint(13059)
  3088. #define DBIERR_TABLEEXISTS System::Smallint(13060)
  3089. #define DBIERR_PDX10TABLE System::Smallint(13061)
  3090. #define DBIERR_UPDATEABORT System::Smallint(13062)
  3091. #define ERRCODE_DIFFSORTORDER System::Byte(1)
  3092. #define ERRCODE_DIRINUSEBYOLDVER System::Byte(2)
  3093. #define ERRCODE_PDX35LDDRIVER System::Byte(3)
  3094. #define DBIERR_DIFFSORTORDER System::Smallint(13313)
  3095. #define DBIERR_DIRINUSEBYOLDVER System::Smallint(13314)
  3096. #define DBIERR_PDX35LDDRIVER System::Smallint(13315)
  3097. #define ERRCODE_REQOPTPARAM System::Byte(1)
  3098. #define ERRCODE_INVALIDOPTPARAM System::Byte(2)
  3099. #define DBIERR_REQOPTPARAM System::Smallint(11521)
  3100. #define DBIERR_INVALIDOPTPARAM System::Smallint(11522)
  3101. #define ERRCODE_REPOSITORYCORRUPT System::Byte(1)
  3102. #define ERRCODE_INFOBLOBCORRUPT System::Byte(2)
  3103. #define ERRCODE_SCHEMACORRUPT System::Byte(3)
  3104. #define ERRCODE_ATTRTYPEEXISTS System::Byte(4)
  3105. #define ERRCODE_INVALIDOBJTYPE System::Byte(5)
  3106. #define ERRCODE_INVALIDRELATIONTYPE System::Byte(6)
  3107. #define ERRCODE_VIEWEXISTS System::Byte(7)
  3108. #define ERRCODE_NOSUCHVIEW System::Byte(8)
  3109. #define ERRCODE_INVALIDRECCONSTRAINT System::Byte(9)
  3110. #define ERRCODE_LDBCONNECTION System::Byte(10)
  3111. #define ERRCODE_REPOSITORYEXISTS System::Byte(11)
  3112. #define ERRCODE_NOSUCHREPOSITORY System::Byte(12)
  3113. #define ERRCODE_REPOSITORYDBMISSING System::Byte(13)
  3114. #define ERRCODE_REPOSITORYOUTOFDATE System::Byte(14)
  3115. #define ERRCODE_REPOSITORYVERSION System::Byte(15)
  3116. #define ERRCODE_REPOSITORYNAME System::Byte(16)
  3117. #define ERRCODE_DEPENDENTOBJECTS System::Byte(17)
  3118. #define ERRCODE_RELATIONLIMIT System::Byte(18)
  3119. #define ERRCODE_RELATIONSHIPSEXIST System::Byte(19)
  3120. #define ERRCODE_EXCHANGEFILECORRUPT System::Byte(20)
  3121. #define ERRCODE_EXCHANGEFILEVERSION System::Byte(21)
  3122. #define ERRCODE_TYPEMISMATCH System::Byte(22)
  3123. #define ERRCODE_OBJECTEXISTS System::Byte(23)
  3124. #define ERRCODE_REPOSITORYACCESS System::Byte(24)
  3125. #define ERRCODE_REPOSITORYCREATE System::Byte(25)
  3126. #define ERRCODE_DATABASEOPENFAILED System::Byte(26)
  3127. #define DBIERR_REPOSITORYCORRUPT System::Smallint(13569)
  3128. #define DBIERR_INFOBLOBCORRUPT System::Smallint(13570)
  3129. #define DBIERR_SCHEMACORRUPT System::Smallint(13571)
  3130. #define DBIERR_ATTRTYPEEXISTS System::Smallint(13572)
  3131. #define DBIERR_INVALIDOBJTYPE System::Smallint(13573)
  3132. #define DBIERR_INVALIDRELATIONTYPE System::Smallint(13574)
  3133. #define DBIERR_VIEWEXISTS System::Smallint(13575)
  3134. #define DBIERR_NOSUCHVIEW System::Smallint(13576)
  3135. #define DBIERR_INVALIDRECCONSTRAINT System::Smallint(13577)
  3136. #define DBIERR_LDBCONNECTION System::Smallint(13578)
  3137. #define DBIERR_REPOSITORYEXISTS System::Smallint(13579)
  3138. #define DBIERR_NOSUCHREPOSITORY System::Smallint(13580)
  3139. #define DBIERR_REPOSITORYDBMISSING System::Smallint(13581)
  3140. #define DBIERR_REPOSITORYOUTOFDATE System::Smallint(13582)
  3141. #define DBIERR_REPOSITORYVERSION System::Smallint(13583)
  3142. #define DBIERR_REPOSITORYNAME System::Smallint(13584)
  3143. #define DBIERR_DEPENDENTOBJECTS System::Smallint(13585)
  3144. #define DBIERR_RELATIONLIMIT System::Smallint(13586)
  3145. #define DBIERR_RELATIONSHIPSEXIST System::Smallint(13587)
  3146. #define DBIERR_EXCHANGEFILECORRUPT System::Smallint(13588)
  3147. #define DBIERR_EXCHANGEFILEVERSION System::Smallint(13589)
  3148. #define DBIERR_TYPEMISMATCH System::Smallint(13590)
  3149. #define DBIERR_OBJECTEXISTS System::Smallint(13591)
  3150. #define DBIERR_REPOSITORYACCESS System::Smallint(13592)
  3151. #define DBIERR_REPOSITORYCREATE System::Smallint(13593)
  3152. #define DBIERR_DATABASEOPENFAILED System::Smallint(13594)
  3153. #define MAXLDNAME System::Byte(20)
  3154. #define MAX_LCNAME_LEN System::Byte(32)
  3155. #define DOS_CP System::Byte(1)
  3156. #define WIN_CP System::Byte(2)
  3157. #define UC_CP System::Byte(13)
  3158. #define SCHEMATYPE System::Byte(1)
  3159. #define CORETYPE System::Byte(2)
  3160. #define LOGICALMODELTYPE System::Byte(4)
  3161. #define PHYSICALMODELTYPE System::Byte(8)
  3162. #define NONDISPLAYTYPE System::Byte(16)
  3163. #define INTERNALTYPE System::Byte(32)
  3164. #define DBIMAXENUMFLDLEN System::Byte(95)
  3165. #define DOMCLOSED System::Byte(1)
  3166. #define NODISPLAY System::Byte(0)
  3167. #define SUMMARYDISPLAY System::Byte(1)
  3168. #define DETAILDISPLAY System::Byte(2)
  3169. #define INDIVIDUALDISPLAY System::Byte(3)
  3170. #define iCOMMONATTR System::Byte(1)
  3171. #define iCOMMONUSERATTR System::Byte(2)
  3172. #define iEXTATTR System::Byte(3)
  3173. #define EDITNEW System::Byte(1)
  3174. #define EDITUNCHANGED System::Byte(2)
  3175. #define EDITMODIFIED System::Byte(4)
  3176. #define SCHEMAATTR System::Byte(1)
  3177. #define EXTENDEDATTR System::Byte(2)
  3178. #define UIATTR System::Byte(4)
  3179. #define LOGICALMODELATTR System::Byte(8)
  3180. #define PHYSICALMODELATTR System::Byte(16)
  3181. #define INTERNALATTR System::Byte(32)
  3182. #define szOBJID "OBJID"
  3183. #define szOBJVER "VERSION"
  3184. #define szALIASNAME "ALIASNAME"
  3185. #define szREALNAME "NAME"
  3186. #define szOUTOFDATE "OUTOFDATE"
  3187. #define szCREATEDATE "CREATEDATE"
  3188. #define szLASTUPDATE "LASTUPDATE"
  3189. #define szDATABLOB "DATABLOB"
  3190. #define szDATAREP "DATAREP"
  3191. #define szVERSIONNUM "VERSIONNUM"
  3192. #define szDB "DATABASE"
  3193. #define szDBPATH "DBPATH"
  3194. #define szDBTYPE "DBTYPE"
  3195. #define szTABLE "TABLE"
  3196. #define szPATH "PATH"
  3197. #define szTBLTYPE "DRIVERTYPE"
  3198. #define szISFILE "ISFILE"
  3199. #define szISVIEW "ISVIEW"
  3200. #define szISSYNONYM "ISSYNONYM"
  3201. #define szFIELD "FIELD"
  3202. #define szPHYTYPE "PHYTYPE"
  3203. #define szPHYSUBTYPE "PHYSUBTYPE"
  3204. #define szLOGTYPE "LOGTYPE"
  3205. #define szLOGSUBTYPE "LOGSUBTYPE"
  3206. #define szUNITS1 "UNITS1"
  3207. #define szUNITS2 "UNITS2"
  3208. #define szPOSITION "POSITION"
  3209. #define szDEFVAL "DEFVAL"
  3210. #define szMINVAL "MINVAL"
  3211. #define szMAXVAL "MAXVAL"
  3212. #define szREQUIRED "REQUIRED"
  3213. #define szFREADONLY "READONLY"
  3214. #define szCASTTYPE "CASTTYPE"
  3215. #define szCASTSUBTYPE "CASTSUBTYPE"
  3216. #define szEXTFIELD "EXTFIELD"
  3217. #define szFIELDCLASS "FIELDCLASS"
  3218. #define szCONTROLCLASS "CONTROLCLASS"
  3219. #define szALIGNMENT "ALIGNMENT"
  3220. #define szDISPLABEL "DISPLABEL"
  3221. #define szDISPWIDTH "DISPWIDTH"
  3222. #define szVISIBLE "VISIBLE"
  3223. #define szTRANSLITERATE "TRANSLITERATE"
  3224. #define szEDITMASK "EDITMASK"
  3225. #define szDISPFORMAT "DISPFORMAT"
  3226. #define szEDITFORMAT "EDITFORMAT"
  3227. #define szCURRENCY "CURRENCY"
  3228. #define szPRECISION "PRECISION"
  3229. #define szDISPLAYVALUES "DISPLAYVALUES"
  3230. #define szBLOBTYPE "BLOBTYPE"
  3231. #define szSRCOBJID "SRCOBJID"
  3232. #define szSRCOBJVER "SRCOBJVER"
  3233. #define szDESTOBJID "DESTOBJID"
  3234. #define szDESTOBJVER "DESTOBJVER"
  3235. #define szRIPOS "IPOS"
  3236. #define szRDRDATABASE "DRDATABASES"
  3237. #define szIRDBDR "DBDR"
  3238. #define szRDREXTFIELD "DREXTFIELD"
  3239. #define szIREXTFIELDDR "EXTFIELDDR"
  3240. #define szRDBTABLES "DBTABLES"
  3241. #define szIRTABLEDB "TBLDB"
  3242. #define szRTABLEFLDS "TABLEFLDS"
  3243. #define szIRFLDTABLE "FLDTABLE"
  3244. #define szRFLDEXTFIELD "FLDEXTFIELD"
  3245. #define szIREXTFIELDFLDS "EXTFIELDFLDS"
  3246. #define szRPARENTEXTFIELD "PARENTEXTFIELD"
  3247. #define szIRCHILDEXTFIELD "CHILDEXTFIELD"
  3248. #define clSQLRESTRICT System::Integer(-16318462)
  3249. extern System::Word __fastcall ErrCat(System::Word rslt);
  3250. extern System::Word __fastcall ErrCode(System::Word rslt);
  3251. extern System::Word __stdcall DbiInit(pDBIEnv pEnv);
  3252. extern System::Word __stdcall DbiSchemaCacheFlush(hDBIDb hDb, System::PChar pszTableName);
  3253. extern System::Word __stdcall DbiDRDrop(System::PChar pszDrName);
  3254. extern System::Word __stdcall DbiDRAdd(pDRDesc pdrdesc);
  3255. extern System::Word __stdcall DbiDRGetRelatedObject(hDBIDR hDataRepos, pDRObject pdrObjIDSrc, System::PChar 
  3256.     pszRelTypeName, pDRObject pdrObjIDDest);
  3257. extern System::Word __stdcall DbiOpenSessionRepository(hDBISes hSes, hDBIDR &hDataRepos);
  3258. extern System::Word __stdcall DbiGetDefaultRepository(System::PChar pszDRName);
  3259. extern System::Word __stdcall DbiSetDefaultRepository(System::PChar pszDRName);
  3260. extern System::Word __stdcall DbiOpenRepositoryList(hDBICur &hCur);
  3261. extern System::Word __stdcall DbiDRGetEnumAttrDomain(hDBIDR hDataRepos, System::Word iNumVals, pDREnumAttrDomain 
  3262.     peAttrDomain);
  3263. extern System::Word __stdcall DbiDRDeleteEnumAttrDomain(hDBIDR hDataRepos, System::PChar pszEnumAttrDomain
  3264.     );
  3265. extern System::Word __stdcall DbiDRModifyEnumAttrDomain(hDBIDR hDataRepos, pDREnumAttrDomain peAttrDomain
  3266.     );
  3267. extern System::Word __stdcall DbiDRCreateEnumAttrDomain(hDBIDR hDataRepos, pDREnumAttrDomain peAttrDomain
  3268.     );
  3269. extern System::Word __stdcall DbiDeleteAlias(hDBICfg hCfg, System::PChar pszAliasName);
  3270. extern System::Word __stdcall DbiAddAlias(hDBICfg hCfg, System::PChar pszAliasName, System::PChar pszDriverType
  3271.     , System::PChar pszParams, System::LongBool bPersist);
  3272. extern System::Word __stdcall DbiOpenFunctionArgList(hDBIDb hDb, System::PChar pszFuncName, System::Word 
  3273.     uOverload, phDBICur phCur);
  3274. extern System::Word __stdcall DbiOpenFunctionList(hDBIDb hDb, DBIFUNCOpts eoptBits, phDBICur phCur);
  3275.     
  3276. extern System::Word __stdcall DbiDRDelete(System::PChar pszDrName);
  3277. extern System::Word __stdcall DbiDRCreate(pDRDesc pdrDesc, phDBIDR phDataRepos);
  3278. extern System::Word __stdcall DbiDRLoadDBObject(hDBIDR hDataRepos, hDBIDb hDb, System::PChar pszDatabaseName
  3279.     , System::LongBool bSystemTables, System::Longint lNumObjs, pDROBJDesc paObjDesc);
  3280. extern System::Word __stdcall DbiDRSetToObjName(hDBICur hCurObj, System::PChar pszName, System::LongBool 
  3281.     bUseAliasName);
  3282. extern System::Word __stdcall DbiDRSetToObjID(hDBICur hCurObj, pDRObject pdrObjID);
  3283. extern System::Word __stdcall DbiDRGetObjID(hDBICur hCurObj, pDRObject pdrObjID);
  3284. extern System::Word __stdcall DbiDROpenRelSet(hDBIDR hDataRepos, System::PChar pszRelTypeName, pDRObject 
  3285.     pdrSrcObjID, pDRObject pdrDestObjID, System::PChar pszCondList, hDBICur &hCurObj);
  3286. extern System::Word __stdcall DbiDROpenObjSet(hDBIDR hDataRepos, System::PChar pszObjTypeName, pDRObject 
  3287.     pdrSrcObjID, System::PChar pszNavRelName, System::PChar pszCondList, hDBICur &hCurObj);
  3288. extern System::Word __stdcall DbiDRGetRelTypeInfo(hDBIDR hDataRepos, System::PChar pszRelTypeName, pDRRELType 
  3289.     prelType);
  3290. extern System::Word __stdcall DbiDRGetAttrDescs(hDBIDR hDataRepos, System::PChar pszTypeName, System::Word 
  3291.     iNumAttr, pDRATTRDesc pattrDesc);
  3292. extern System::Word __stdcall DbiDRGetObjTypeInfo(hDBIDR hDataRepos, System::PChar pszObjTypeName, pDROBJType 
  3293.     pobjType);
  3294. extern System::Word __stdcall DbiDROpenRelTypeList(hDBIDR hDataRepos, System::PChar pszObjTypeName, 
  3295.     hDBICur &hRelTypeCur);
  3296. extern System::Word __stdcall DbiDROpenAttrTypeList(hDBIDR hDataRepos, System::PChar pszTypeName, hDBICur 
  3297.     &hAttrTypeCur);
  3298. extern System::Word __stdcall DbiDROpenObjectTypeList(hDBIDR hDataRepos, hDBICur &hObjTypeCur);
  3299. extern System::Word __stdcall DbiDRDeleteObjectType(hDBIDR hDataRepos, System::PChar pszObjTypeName, 
  3300.     System::LongBool bDeleteAssocRelTypes);
  3301. extern System::Word __stdcall DbiDRDeleteRelationType(hDBIDR hDataRepos, System::PChar pszRelTypeName
  3302.     );
  3303. extern System::Word __stdcall DbiDRCreateRelationType(hDBIDR hDataRepos, pDRRELType prelType, pDRATTRDesc 
  3304.     pattrDesc);
  3305. extern System::Word __stdcall DbiDRDropAttr(hDBIDR hDataRepos, System::PChar pszTypeName, System::Word 
  3306.     iAttr, pDRATTRDesc pattrDesc);
  3307. extern System::Word __stdcall DbiDRAddAttr(hDBIDR hDataRepos, System::PChar pszTypeName, System::Word 
  3308.     iAttr, pDRATTRDesc pattrDesc);
  3309. extern System::Word __stdcall DbiDRCreateObjectType(hDBIDR hDataRepos, pDROBJType pobjType, pDRATTRDesc 
  3310.     pattrDesc);
  3311. extern System::Word __stdcall DbiDRExportToFile(hDBIDR hDataRepos, System::Longint ulNumObjs, pDRExportDesc 
  3312.     padrExportDesc, System::PChar pszExportFile);
  3313. extern System::Word __stdcall DbiDRImportFromFile(hDBIDR hDataRepos, System::Longint ulNumObjs, pDRExportDesc 
  3314.     padrExportDesc, System::PChar pszImportFile);
  3315. extern System::Word __stdcall DbiDRClose(phDBIDR phDataRepos);
  3316. extern System::Word __stdcall DbiDROpen(System::PChar pszDrName, phDBIDR phDataRepos);
  3317. extern System::Word __stdcall DbiDRGetDesc(System::PChar pszDrName, pDRDesc pdrDesc);
  3318. extern System::Word __stdcall DbiApplyDelayedUpdates(hDBICur hCursor, DBIDelayedUpdCmd eUpdCmd);
  3319. extern System::Word __stdcall DbiEndDelayedUpdates(hDBICur &hCursor);
  3320. extern System::Word __stdcall DbiBeginDelayedUpdates(hDBICur &hCursor);
  3321. extern System::Word __stdcall DbiQPrepareExt(hDBIDb hDb, DBIQryLang eQryLang, System::PChar pszQuery
  3322.     , System::Word propBits, hDBIStmt &hStmt);
  3323. extern System::Word __stdcall DbiQExecProcDirect(hDBIDb hDb, System::PChar pszProc, System::Word uParamDescs
  3324.     , pSPParamDesc paParamDescs, System::Pointer pRecBuff, hDBICur &hCur);
  3325. extern System::Word __stdcall DbiQSetProcParams(hDBIStmt hStmt, System::Word uParamDescs, pSPParamDesc 
  3326.     paParamDescs, System::Pointer pRecBuff);
  3327. extern System::Word __stdcall DbiQPrepareProc(hDBIDb hDb, System::PChar pszProc, System::Word uParamDescs
  3328.     , pSPParamDesc paParamDescs, System::Pointer pRecBuff, hDBIStmt &hStmt);
  3329. extern System::Word __stdcall DbiOpenSPParamList(hDBIDb hDb, System::PChar pszSPName, System::LongBool 
  3330.     bPhyTypes, System::Word uOverload, hDBICur &hCur);
  3331. extern System::Word __stdcall DbiOpenSPList(hDBIDb hDb, System::LongBool bExtended, System::LongBool 
  3332.     bSystem, System::PChar pszQual, hDBICur &hCur);
  3333. extern System::Word __stdcall DbiGetRintDesc(hDBICur hCursor, System::Word iRintSeqNo, pRINTDesc printDesc
  3334.     );
  3335. extern System::Word __stdcall DbiGetVchkDesc(hDBICur hCursor, System::Word iValSeqNo, pVCHKDesc pvalDesc
  3336.     );
  3337. extern System::Word __stdcall DbiOpenFieldXlt(System::PChar pszSrcTblType, System::PChar pszSrcLangDrv
  3338.     , pFLDDesc pfldSrc, System::PChar pszDestTblType, System::PChar pszDstLangDrv, pFLDDesc pfldDest, System::LongBool 
  3339.     &bDataLoss, hDBIXlt &hXlt);
  3340. extern System::Word __stdcall DbiValidateProp(hDBIObj hObj, System::Longint iProp, System::LongBool 
  3341.     bSetting);
  3342. extern System::Word __stdcall DbiCloseFieldXlt(hDBIXlt hXlt);
  3343. extern System::Word __stdcall DbiTranslateField(hDBIXlt hXlt, System::Pointer pSrc, System::Pointer 
  3344.     pDest);
  3345. extern System::Word __stdcall DbiTranslateRecordStructure(System::PChar pszSrcDriverType, System::Word 
  3346.     iFlds, pFLDDesc pfldsSrc, System::PChar pszDstDriverType, System::PChar pszLangDriver, pFLDDesc pfldsDst
  3347.     , System::LongBool bCreatable);
  3348. extern System::Word __stdcall DbiGetFilterInfo(hDBICur hCur, hDBIFilter hFilter, System::Word iFilterId
  3349.     , System::Word iFilterSeqNo, FILTERInfo &Filterinfo);
  3350. extern System::Word __stdcall DbiGetObjFromObj(hDBIObj hObj, DBIOBJType eObjType, hDBIObj &hObjOut);
  3351.     
  3352. extern System::Word __stdcall DbiBcdFromFloat(System::Double &iVal, System::Word iPrecision, System::Word 
  3353.     iPlaces, FMTBcd &Bcd);
  3354. extern System::Word __stdcall DbiBcdToFloat(FMTBcd &Bcd, System::Double &iVal);
  3355. extern System::Word __stdcall DbiGetObjFromName(DBIOBJType eObjType, System::PChar pszObjName, hDBIObj 
  3356.     &hObj);
  3357. extern System::Word __stdcall DbiSetProp(hDBIObj hObj, System::Longint iProp, System::Longint iPropValue
  3358.     );
  3359. extern System::Word __stdcall DbiGetProp(hDBIObj hObj, System::Longint iProp, System::Pointer PropValue
  3360.     , System::Word iMaxLen, System::Word &iLen);
  3361. extern System::Word __stdcall DbiAnsiToNative(System::Pointer LdObj, System::PChar pNativeStr, System::PChar 
  3362.     pAnsiStr, System::Longint iLen, System::LongBool &bDataLoss);
  3363. extern System::Word __stdcall DbiNativeToAnsi(System::Pointer LdObj, System::PChar pAnsiStr, System::PChar 
  3364.     pNativeStr, System::Longint iLen, System::LongBool &bDataLoss);
  3365. extern System::Word __stdcall DbiMakePermanent(hDBICur hCursor, System::PChar pszName, System::LongBool 
  3366.     bOverWrite);
  3367. extern System::Word __stdcall DbiGetIndexDescs(hDBICur hCursor, pIDXDesc idxDesc);
  3368. extern System::Word __stdcall DbiCloseConfigFile(hDBICfg &hCfg, System::LongBool bSave, System::LongBool 
  3369.     bDefault, System::LongBool bSaveAs16);
  3370. extern System::Word __stdcall DbiOpenConfigFile(System::PChar pszDirPath, System::LongBool bCreate, 
  3371.     hDBICfg &hCfg);
  3372. extern System::Word __stdcall DbiOpenCfgInfoList(hDBICfg hCfg, DBIOpenMode eOpenMode, CFGMode eConfigMode
  3373.     , System::PChar pszCfgPath, hDBICur &hCur);
  3374. extern System::LongBool __stdcall OsLdBuildCharSetXform(System::PChar pCharMap, System::Pointer pLdObjSrc
  3375.     , System::Pointer pLdObjDest, System::LongBool &DataLoss);
  3376. extern System::Word __stdcall OsLdLoadByDriverId(System::Word iDriverId, System::Pointer &PLocaleObj
  3377.     );
  3378. extern System::Word __stdcall OsLdGetDriverId(System::Pointer PLocaleObj, System::Word &DriverId);
  3379. extern System::Word __stdcall DbiGetExactRecordCount(hDBICur hCursor, System::Longint &iRecCount);
  3380. extern System::Word __stdcall DbiGetLdNameFromDb(hDBIDb hDb, System::PChar DbName, System::PChar pldName
  3381.     );
  3382. extern System::Word __stdcall DbiSortTable(hDBIDb hDb, System::PChar pszTableName, System::PChar pszDriverType
  3383.     , hDBICur hSrcCur, System::PChar pszSortedName, phDBICur phSortedCur, hDBICur hDstCur, System::Word 
  3384.     iSortFields, Windows::PWORD piFieldNum, Windows::PBOOL pbCaseInsensitive, pSORTOrder pSortOrder, ppfSORTCompFn 
  3385.     ppfSortFn, System::LongBool bRemoveDups, hDBICur hDuplicatesCur, System::Longint &lRecsSort);
  3386. extern System::Word __stdcall DbiGetTranInfo(hDBIDb hDb, hDBIXact hXact, pXInfo pxInfo);
  3387. extern System::Word __stdcall DbiEndTran(hDBIDb hDb, hDBIXact hXact, eXEnd eEnd);
  3388. extern System::Word __stdcall DbiBeginTran(hDBIDb hDb, eXILType eXIL, hDBIXact &hXact);
  3389. extern System::Word __stdcall DbiBatchMove(pBATTblDesc pSrcTblDesc, hDBICur hSrcCur, pBATTblDesc pDstTblDesc
  3390.     , hDBICur hDstCur, eBATMode ebatMode, System::Word iFldCount, Windows::PWORD pSrcFldMap, System::PChar 
  3391.     pszIndexName, System::PChar pszIndexTagName, System::Word iIndexId, System::PChar pszKeyviolName, System::PChar 
  3392.     pszProblemsName, System::PChar pszChangedName, Windows::PLongint lProbRecs, Windows::PLongint lKeyvRecs
  3393.     , Windows::PLongint lChangedRecs, System::LongBool bAbortOnFirstProb, System::LongBool bAbortOnFirstKeyviol
  3394.     , System::Longint &lRecsToMove, System::LongBool bTransliterate);
  3395. extern System::Word __stdcall DbiDeactivateFilter(hDBICur hCursor, hDBIFilter hFilter);
  3396. extern System::Word __stdcall DbiActivateFilter(hDBICur hCursor, hDBIFilter hFilter);
  3397. extern System::Word __stdcall DbiDropFilter(hDBICur hCursor, hDBIFilter hFilter);
  3398. extern System::Word __stdcall DbiAddFilter(hDBICur hCursor, System::Longint iClientData, System::Word 
  3399.     iPriority, System::LongBool bCanAbort, pCANExpr pcanExpr, pfGENFilter pfFilter, hDBIFilter &hFilter
  3400.     );
  3401. extern System::Word __stdcall DbiGetLdName(System::PChar pszDriver, System::PChar pObjName, System::PChar 
  3402.     pLdName);
  3403. extern System::Word __stdcall DbiUndeleteRecord(hDBICur hCursor);
  3404. extern System::Word __stdcall DbiGetClientInfo(CLIENTInfo &clientInfo);
  3405. extern System::Word __stdcall OsLdSearchNext(System::Pointer &PLocaleObj);
  3406. extern System::Word __stdcall OsLdSearchInit(void);
  3407. extern System::Word __stdcall OsLdGetDescName(System::Pointer PLocaleObj, Windows::PByte pDescName);
  3408.     
  3409. extern System::Byte __stdcall OsLdCharToLower(System::Pointer PLocaleObj, System::Byte ch);
  3410. extern System::Byte __stdcall OsLdCharToUpper(System::Pointer PLocaleObj, System::Byte ch);
  3411. extern System::LongBool __stdcall OsLdIsDigit(System::Pointer PLocaleObj, System::Byte ch);
  3412. extern System::LongBool __stdcall OsLdIsAlpha(System::Pointer PLocaleObj, System::Byte ch);
  3413. extern System::Word __stdcall OsLdUnloadObj(System::Pointer &PLocaleObj);
  3414. extern System::Byte __stdcall OsLdOemCharToAnsi(System::Pointer PLocaleObj, System::Byte ch);
  3415. extern System::Byte __stdcall OsLdAnsiCharToOem(System::Pointer PLocaleObj, System::Byte ch);
  3416. extern System::LongBool __stdcall OsLdIsOemCharInAnsiCp(System::Pointer PLocaleObj, System::Char OemCh
  3417.     );
  3418. extern System::LongBool __stdcall OsLdIsAnsiCharInOemCp(System::Pointer PLocaleObj, System::Char AnsiCh
  3419.     );
  3420. extern System::Word __stdcall OsLdOemToAnsi(System::Pointer PLocaleObj, System::PChar AnsiStr, System::PChar 
  3421.     OemStr, System::Word Len, System::LongBool &DataLoss);
  3422. extern System::Word __stdcall OsLdAnsiToOem(System::Pointer PLocaleObj, System::PChar OemStr, System::PChar 
  3423.     AnsiStr, System::Word Len, System::LongBool &DataLoss);
  3424. extern System::Word __stdcall OsLdGetFName(System::Pointer PLocaleObj, System::PChar PName);
  3425. extern System::Word __stdcall OsLdGetCodePage(System::Pointer PLocaleObj, System::Smallint &CodePage
  3426.     );
  3427. extern System::Word __stdcall OsLdGetSortsig(System::Pointer PLocaleObj, System::Smallint &SortSig);
  3428.     
  3429. extern System::Word __stdcall OsLdGetSymbName(System::Pointer pLdObj, Windows::PByte pSymbName);
  3430. extern System::Word __stdcall OsLdStrnToUpper(System::Pointer PLocaleObj, Windows::PByte Str, System::Word 
  3431.     Len);
  3432. extern System::Word __stdcall OsLdStrToUpper(System::Pointer PLocaleObj, Windows::PByte Str);
  3433. extern System::Smallint __stdcall OsLdStrnCmpi(System::Pointer PLocaleObj, System::PChar Str1, System::PChar 
  3434.     Str2, System::Word Len);
  3435. extern System::Smallint __stdcall OsLdStrCmpi(System::Pointer pLdObj, System::PChar str1, System::PChar 
  3436.     str2);
  3437. extern System::Word __stdcall OsLdStrnToLower(System::Pointer PLocaleObj, Windows::PByte Str, System::Word 
  3438.     Len);
  3439. extern System::Word __stdcall OsLdStrToLower(System::Pointer PLocaleObj, Windows::PByte Str);
  3440. extern System::Word __stdcall OsLdStrCmp(System::Pointer PLocaleObj, System::PChar Str1, System::PChar 
  3441.     Str2);
  3442. extern System::Word __stdcall OsLdStrnCmp(System::Pointer PLocaleObj, System::PChar Str1, System::PChar 
  3443.     Str2, System::Word Len);
  3444. extern System::Word __stdcall OsLdLoadBySymbName(System::PChar pSymbName, System::Pointer &PLocaleObj
  3445.     );
  3446. extern System::Word __stdcall OsLdLoadByFName(System::PChar pFName, System::Pointer &PLocaleObj);
  3447. extern System::Word __stdcall OsLdLoadBySortSig(System::Word SortSig, System::Word CodePage, System::Pointer 
  3448.     &PLocaleObj);
  3449. extern System::Word __stdcall OsLdExit(void);
  3450. extern System::Word __stdcall OsLdGetDefaultObj(System::Pointer &pLdObj);
  3451. extern System::Word __stdcall OsLdInit(System::PChar pDefDir, System::PChar pDefLangDr);
  3452. extern System::Word __stdcall DbiDebugLayerOptions(System::Word iOption, System::PChar pDebugFile);
  3453. extern System::Word __stdcall DbiSetNumberFormat(FMTNumber &fmtNumber);
  3454. extern System::Word __stdcall DbiGetNumberFormat(FMTNumber &fmtNumber);
  3455. extern System::Word __stdcall DbiSetTimeFormat(FMTTime &fmtTime);
  3456. extern System::Word __stdcall DbiGetTimeFormat(FMTTime &fmtTime);
  3457. extern System::Word __stdcall DbiSetDateFormat(FMTDate &fmtDate);
  3458. extern System::Word __stdcall DbiGetDateFormat(FMTDate &fmtDate);
  3459. extern System::Word __stdcall DbiCfgMerge(hDBICfg hCfgDest, hDBICfg hCfgSrc, System::PChar pszSrcPath
  3460.     );
  3461. extern System::Word __stdcall DbiCfgGetHelp(hDBICfg hCfg, System::PChar pszConfigPath, System::PChar 
  3462.     pszFldName, System::PChar pszHelpString);
  3463. extern System::Word __stdcall DbiCfgTranslate(hDBICfg hCfg, System::PChar pszConfigPath, System::PChar 
  3464.     pszTrans, System::Word iFields, pFLDDesc pfldDesc, System::Pointer pRec);
  3465. extern System::Word __stdcall DbiCfgDropRecord(hDBICfg hCfg, System::PChar pszCfgPath);
  3466. extern System::Word __stdcall DbiCfgModifyRecord(hDBICfg hCfg, System::PChar pszCfgPath, System::Word 
  3467.     iFields, pFLDDesc pfldDesc, System::Pointer pRec);
  3468. extern System::Word __stdcall DbiCfgAddRecord(hDBICfg hCfg, System::PChar pszCfgPath, System::Word iFields
  3469.     , pFLDDesc pfldDesc, System::Pointer pRec);
  3470. extern System::Word __stdcall DbiCfgGetRecord(hDBICfg hCfg, System::PChar pszCfgPath, System::Word &
  3471.     iFields, pFLDDesc pfldDesc, System::Pointer pRec);
  3472. extern System::Word __stdcall DbiCfgGetNextNode(hDBICfg hCfg, System::PChar pszNodeName);
  3473. extern System::Word __stdcall DbiCfgPosition(hDBICfg hCfg, System::PChar pszCfgPath);
  3474. extern System::Word __stdcall DbiCfgBuildPath(hDBICfg hCfg, System::PChar pszCategory, System::PChar 
  3475.     pszGroup, System::PChar pszSection, System::PChar pszCfgPath);
  3476. extern System::Word __stdcall DbiCfgSave(hDBICfg hCfg, System::PChar pszNewFile, System::LongBool bSaveAs16
  3477.     );
  3478. extern System::Word __stdcall DbiGetCallBack(hDBICur hCursor, CBType ecbType, Windows::PLongint piClientData
  3479.     , Windows::PWORD piCbBufLen, System::Pointer ppCbBuf, pfDBICallBack &pfCb);
  3480. extern System::Word __stdcall DbiCheckRefresh(void);
  3481. extern System::Word __stdcall DbiGetErrorEntry(System::Word uEntry, System::Longint &ulNativeError, 
  3482.     System::PChar pszError);
  3483. extern System::Word __stdcall DbiGetErrorContext(System::Smallint eContext, System::PChar pszContext
  3484.     );
  3485. extern System::Word __stdcall DbiGetErrorString(System::Word rslt, System::PChar pszError);
  3486. extern System::Word __stdcall DbiFormFullName(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3487.     pszDriverType, System::PChar pszFullName);
  3488. extern System::Word __stdcall DbiCreateTempTable(hDBIDb hDb, CRTblDesc &crTblDsc, hDBICur &hCursor);
  3489.     
  3490. extern System::Word __stdcall DbiUseIdleTime(void);
  3491. extern System::Word __stdcall DbiGetLdObj(hDBICur hCursor, System::Pointer &pLdObj);
  3492. extern System::Word __stdcall DbiGetErrorInfo(System::LongBool bFull, DBIErrInfo &ErrInfo);
  3493. extern System::Word __stdcall DbiSetFieldMap(hDBICur hCur, System::Word iFields, pFLDDesc pFldDesc);
  3494.     
  3495. extern System::Word __stdcall DbiGetRecordForKey(hDBICur hCursor, System::LongBool bDirectKey, System::Word 
  3496.     iFields, System::Word iLen, System::Pointer pKey, System::Pointer pRecBuff);
  3497. extern System::Word __stdcall DbiCompareKeys(hDBICur hCursor, System::Pointer pKey1, System::Pointer 
  3498.     pKey2, System::Word iFields, System::Word iLen, System::Smallint &iResult);
  3499. extern System::Word __stdcall DbiAppendRecord(hDBICur hCursor, System::Pointer pRecBuff);
  3500. extern System::Word __stdcall DbiRegenIndexes(hDBICur hCursor);
  3501. extern System::Word __stdcall DbiRegenIndex(hDBIDb hDb, hDBICur hCursor, System::PChar pszTableName, 
  3502.     System::PChar pszDriverType, System::PChar pszIndexName, System::PChar pszIndexTagName, System::Word 
  3503.     iIndexId);
  3504. extern System::Word __stdcall DbiEmptyTable(hDBIDb hDb, hDBICur hCursor, System::PChar pszTableName, 
  3505.     System::PChar pszDriverType);
  3506. extern System::Word __stdcall DbiPackTable(hDBIDb hDb, hDBICur hCursor, System::PChar pszTableName, 
  3507.     System::PChar pszDriverType, System::LongBool bRegenIdxs);
  3508. extern System::Word __stdcall DbiTimeStampDecode(System::Double tsTS, System::Longint &dateD, System::Longint 
  3509.     &timeT);
  3510. extern System::Word __stdcall DbiTimeStampEncode(System::Longint dateD, System::Longint timeT, System::Double 
  3511.     &tsTS);
  3512. extern System::Word __stdcall DbiTimeDecode(System::Longint timeT, System::Word &iHour, System::Word 
  3513.     &iMin, System::Word &iMilSec);
  3514. extern System::Word __stdcall DbiTimeEncode(System::Word iHour, System::Word iMin, System::Word iMilSec
  3515.     , System::Longint &timeT);
  3516. extern System::Word __stdcall DbiDoRestructure(hDBIDb hDb, System::Word iTblDescCount, pCRTblDesc pTblDesc
  3517.     , System::PChar pszSaveAs, System::PChar pszKeyviolName, System::PChar pszProblemsName, System::LongBool 
  3518.     bAnalyzeOnly);
  3519. extern System::Word __stdcall DbiSetToRecordNo(hDBICur hCursor, System::Longint iRecNo);
  3520. extern System::Word __stdcall DbiGetIndexSeqNo(hDBICur hCursor, System::PChar pszIndexName, System::PChar 
  3521.     pszTagName, System::Word iIndexId, System::Word &iIndexSeqNo);
  3522. extern System::Word __stdcall DbiGetIndexForField(hDBICur hCursor, System::Word iFld, System::LongBool 
  3523.     bProdTagOnly, IDXDesc &idxDesc);
  3524. extern System::Word __stdcall DbiDeleteIndex(hDBIDb hDb, hDBICur hCursor, System::PChar pszTableName
  3525.     , System::PChar pszDriverType, System::PChar pszIndexName, System::PChar pszIndexTagName, System::Word 
  3526.     iIndexId);
  3527. extern System::Word __stdcall DbiAddIndex(hDBIDb hDb, hDBICur hCursor, System::PChar pszTableName, System::PChar 
  3528.     pszDriverType, IDXDesc &IdxDesc, System::PChar pszKeyviolName);
  3529. extern System::Word __stdcall DbiDeleteTable(hDBIDb hDb, System::PChar pszTableName, System::PChar pszDriverType
  3530.     );
  3531. extern System::Word __stdcall DbiRenameTable(hDBIDb hDb, System::PChar pszOldName, System::PChar pszDriverType
  3532.     , System::PChar pszNewName);
  3533. extern System::Word __stdcall DbiCopyTable(hDBIDb hDb, System::LongBool bOverWrite, System::PChar pszSrcTableName
  3534.     , System::PChar pszSrcDriverType, System::PChar pszDestTableName);
  3535. extern System::Word __stdcall DbiCreateTable(hDBIDb hDb, System::LongBool bOverWrite, CRTblDesc &crTblDsc
  3536.     );
  3537. extern System::Word __stdcall DbiVerifyField(hDBICur hCursor, System::Word iField, System::Pointer pSrc
  3538.     , System::LongBool &bBlank);
  3539. extern System::Word __stdcall DbiSetToSeqNo(hDBICur hCursor, System::Longint iSeqNo);
  3540. extern System::Word __stdcall DbiInitRecord(hDBICur hCursor, System::Pointer pRecBuff);
  3541. extern System::Word __stdcall DbiCloneCursor(hDBICur hCurSrc, System::LongBool bReadOnly, System::LongBool 
  3542.     bUniDirectional, hDBICur &hCurNew);
  3543. extern System::Word __stdcall DbiCompareBookMarks(hDBICur hCur, System::Pointer pBookMark1, System::Pointer 
  3544.     pBookMark2, System::Integer &CmpBkmkResult);
  3545. extern System::Word __stdcall DbiSetToBookMark(hDBICur hCur, System::Pointer pBookMark);
  3546. extern System::Word __stdcall DbiGetBookMark(hDBICur hCur, System::Pointer pBookMark);
  3547. extern System::Word __stdcall DbiExtractKey(hDBICur hCursor, System::Pointer pRecBuf, System::Pointer 
  3548.     pKeyBuf);
  3549. extern System::Word __stdcall DbiGetIndexDesc(hDBICur hCursor, System::Word iIndexSeqNo, IDXDesc &idxDesc
  3550.     );
  3551. extern System::Word __stdcall DbiSwitchToIndex(hDBICur &hCursor, System::PChar pszIndexName, System::PChar 
  3552.     pszTagName, System::Word iIndexId, System::LongBool bCurrRec);
  3553. extern System::Word __stdcall DbiCloseIndex(hDBICur hCursor, System::PChar pszIndexName, System::Word 
  3554.     iIndexId);
  3555. extern System::Word __stdcall DbiOpenIndex(hDBICur hCursor, System::PChar pszIndexName, System::Word 
  3556.     iIndexId);
  3557. extern System::Word __stdcall DbiDateDecode(System::Longint dateD, System::Word &iMon, System::Word 
  3558.     &iDay, System::Smallint &iYear);
  3559. extern System::Word __stdcall DbiDateEncode(System::Word iMon, System::Word iDay, System::Smallint iYear
  3560.     , System::Longint &dateD);
  3561. extern System::Word __stdcall DbiPutField(hDBICur hCursor, System::Word iField, System::Pointer pRecBuff
  3562.     , System::Pointer pSrc);
  3563. extern System::Word __stdcall DbiGetField(hDBICur hCursor, System::Word iField, System::Pointer pRecBuff
  3564.     , System::Pointer pDest, System::LongBool &bBlank);
  3565. extern System::Word __stdcall DbiRegisterCallBack(hDBICur hCursor, CBType ecbType, System::Longint iClientData
  3566.     , System::Word iCbBufLen, System::Pointer CbBuf, pfDBICallBack pfCb);
  3567. extern System::Word __stdcall DbiQGetBaseDescs(hDBIStmt hStmt, hDBICur &hCur);
  3568. extern System::Word __stdcall DbiQAlloc(hDBIDb hDb, DBIQryLang eQryLang, hDBIStmt &hStmt);
  3569. extern System::Word __stdcall DbiQFree(hDBIStmt &hStmt);
  3570. extern System::Word __stdcall DbiQInstantiateAnswer(hDBIStmt hStmt, hDBICur hCur, System::PChar pszAnswerName
  3571.     , System::PChar pszAnswerType, System::LongBool bOverWrite, phDBICur phCur);
  3572. extern System::Word __stdcall DbiQSetParams(hDBIStmt hStmt, System::Word uFldDescs, pFLDDesc paFldDescs
  3573.     , System::Pointer pRecBuff);
  3574. extern System::Word __stdcall DbiQExec(hDBIStmt hStmt, phDBICur phCur);
  3575. extern System::Word __stdcall DbiQPrepare(hDBIStmt hStmt, System::PChar pszQuery);
  3576. extern System::Word __stdcall DbiQExecDirect(hDBIDb hDb, DBIQryLang eQryLang, System::PChar pszQuery
  3577.     , phDBICur phCur);
  3578. extern System::Word __stdcall DbiGetNetUserName(System::PChar pszNetUserName);
  3579. extern System::Word __stdcall DbiGetSesInfo(SESInfo &sesInfo);
  3580. extern System::Word __stdcall DbiGetSysInfo(SYSInfo &sysInfo);
  3581. extern System::Word __stdcall DbiGetSysConfig(SYSConfig &sysConfig);
  3582. extern System::Word __stdcall DbiGetSysVersion(SYSVersion &sysVersion);
  3583. extern System::Word __stdcall DbiGetBlobHeading(hDBICur hCursor, System::Word iField, System::Pointer 
  3584.     pRecBuf, System::Pointer pDest);
  3585. extern System::Word __stdcall DbiFreeBlob(hDBICur hCursor, System::Pointer pRecBuf, System::Word iField
  3586.     );
  3587. extern System::Word __stdcall DbiTruncateBlob(hDBICur hCursor, System::Pointer pRecBuf, System::Word 
  3588.     iField, System::Longint iLen);
  3589. extern System::Word __stdcall DbiPutBlob(hDBICur hCursor, System::Pointer pRecBuf, System::Word iField
  3590.     , System::Longint iOffSet, System::Longint iLen, System::Pointer pSrc);
  3591. extern System::Word __stdcall DbiGetBlob(hDBICur hCursor, System::Pointer pRecBuf, System::Word iField
  3592.     , System::Longint iOffSet, System::Longint iLen, System::Pointer pDest, System::Longint &iRead);
  3593. extern System::Word __stdcall DbiGetBlobSize(hDBICur hCursor, System::Pointer pRecBuf, System::Word 
  3594.     iField, System::Longint &iSize);
  3595. extern System::Word __stdcall DbiOpenBlob(hDBICur hCursor, System::Pointer pRecBuf, System::Word iField
  3596.     , DBIOpenMode eOpenMode);
  3597. extern System::Word __stdcall DbiGetTableOpenCount(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3598.     pszDriverType, System::Word &iOpenCount);
  3599. extern System::Word __stdcall DbiLoadDriver(System::PChar pszDriverType);
  3600. extern System::Word __stdcall DbiGetIndexTypeDesc(System::PChar pszDriverType, System::PChar pszIndexType
  3601.     , IDXType &idxType);
  3602. extern System::Word __stdcall DbiOpenIndexTypesList(System::PChar pszDriverType, hDBICur &hCur);
  3603. extern System::Word __stdcall DbiGetFieldTypeDesc(System::PChar pszDriverType, System::PChar pszTableType
  3604.     , System::PChar pszFieldType, FLDType &fldType);
  3605. extern System::Word __stdcall DbiOpenFieldTypesList(System::PChar pszDriverType, System::PChar pszTblType
  3606.     , hDBICur &hCur);
  3607. extern System::Word __stdcall DbiGetTableTypeDesc(System::PChar pszDriverType, System::PChar pszTableType
  3608.     , TBLType &tblType);
  3609. extern System::Word __stdcall DbiOpenTableTypesList(System::PChar pszDriverType, hDBICur &hCur);
  3610. extern System::Word __stdcall DbiGetDatabaseDesc(System::PChar pszName, pDBDesc pdbDesc);
  3611. extern System::Word __stdcall DbiOpenDatabaseList(hDBICur &hCur);
  3612. extern System::Word __stdcall DbiGetDriverDesc(System::PChar pszDriverType, DRVType &drvType);
  3613. extern System::Word __stdcall DbiOpenDriverList(hDBICur &hCur);
  3614. extern System::Word __stdcall DbiSetLockRetry(System::Smallint iWait);
  3615. extern System::Word __stdcall DbiSetPrivateDir(System::PChar pszDir);
  3616. extern System::Word __stdcall DbiOpenLockList(hDBICur hCursor, System::LongBool bAllUsers, System::LongBool 
  3617.     bAllLockTypes, hDBICur &hLocks);
  3618. extern System::Word __stdcall DbiOpenUserList(hDBICur &hUsers);
  3619. extern System::Word __stdcall DbiDropPassword(System::PChar pszPassword);
  3620. extern System::Word __stdcall DbiAddPassword(System::PChar pszPassword);
  3621. extern System::Word __stdcall DbiCloseSession(hDBISes hSes);
  3622. extern System::Word __stdcall DbiGetCurrSession(hDBISes &hSes);
  3623. extern System::Word __stdcall DbiSetCurrSession(hDBISes hSes);
  3624. extern System::Word __stdcall DbiStartSession(System::PChar pszName, hDBISes &hSes, System::PChar pNetDir
  3625.     );
  3626. extern System::Word __stdcall DbiForceRecordReread(hDBICur hCursor, System::Pointer pRecBuff);
  3627. extern System::Word __stdcall DbiGetCursorForTable(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3628.     pszDriverType, hDBICur &hCursor);
  3629. extern System::Word __stdcall DbiForceReread(hDBICur hCursor);
  3630. extern System::Word __stdcall DbiSaveChanges(hDBICur hCursor);
  3631. extern System::Word __stdcall DbiRelPersistTableLock(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3632.     pszDriverType);
  3633. extern System::Word __stdcall DbiAcqPersistTableLock(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3634.     pszDriverType);
  3635. extern System::Word __stdcall DbiRelRecordLock(hDBICur hCursor, System::LongBool bAll);
  3636. extern System::Word __stdcall DbiRelTableLock(hDBICur hCursor, System::LongBool bAll, DBILockType eLockType
  3637.     );
  3638. extern System::Word __stdcall DbiAcqTableLock(hDBICur hCursor, DBILockType eLockType);
  3639. extern System::Word __stdcall DbiLinkDetailToExp(hDBICur hCursorMstr, hDBICur hCursorDetl, System::Word 
  3640.     iKeyLen, System::PChar pszMstrExp);
  3641. extern System::Word __stdcall DbiIsTableShared(hDBICur hCursor, System::LongBool &bShared);
  3642. extern System::Word __stdcall DbiIsTableLocked(hDBICur hCursor, DBILockType epdxLock, System::Word &
  3643.     iLocks);
  3644. extern System::Word __stdcall DbiIsRecordLocked(hDBICur hCursor, System::LongBool &bLocked);
  3645. extern System::Word __stdcall DbiGetLinkStatus(hDBICur hCursor, hDBICur &hCursorMstr, hDBICur &hCursorDet
  3646.     , hDBICur &hCursorSib);
  3647. extern System::Word __stdcall DbiUnlinkDetail(hDBICur hDetlCursor);
  3648. extern System::Word __stdcall DbiLinkDetail(hDBICur hMstrCursor, hDBICur hDetlCursor, System::Word iLnkFields
  3649.     , Windows::PWORD piMstrFields, Windows::PWORD piDetlFields);
  3650. extern System::Word __stdcall DbiEndLinkMode(hDBICur &hCursor);
  3651. extern System::Word __stdcall DbiBeginLinkMode(hDBICur &hCursor);
  3652. extern System::Word __stdcall DbiWriteBlock(hDBICur hCursor, System::Longint &iRecords, System::Pointer 
  3653.     pBuf);
  3654. extern System::Word __stdcall DbiReadBlock(hDBICur hCursor, System::Longint &iRecords, System::Pointer 
  3655.     pBuf);
  3656. extern System::Word __stdcall DbiCreateInMemTable(hDBIDb hDb, System::PChar pszName, System::Word iFields
  3657.     , pFLDDesc pfldDesc, hDBICur &hCursor);
  3658. extern System::Word __stdcall DbiOpenSecurityList(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3659.     pszDriverType, hDBICur &hSecCur);
  3660. extern System::Word __stdcall DbiOpenFamilyList(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3661.     pszDriverType, hDBICur &hFmlCur);
  3662. extern System::Word __stdcall DbiOpenRintList(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3663.     pszDriverType, hDBICur &hChkCur);
  3664. extern System::Word __stdcall DbiOpenVchkList(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3665.     pszDriverType, hDBICur &hChkCur);
  3666. extern System::Word __stdcall DbiOpenLdList(hDBICur &hCur);
  3667. extern System::Word __stdcall DbiOpenFieldList(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3668.     pszDriverType, System::LongBool bPhyTypes, hDBICur &hCur);
  3669. extern System::Word __stdcall DbiOpenIndexList(hDBIDb hDb, System::PChar pszTableName, System::PChar 
  3670.     pszDriverType, hDBICur &hCur);
  3671. extern System::Word __stdcall DbiOpenFileList(hDBIDb hDb, System::PChar pszWild, hDBICur &hCur);
  3672. extern System::Word __stdcall DbiOpenTableList(hDBIDb hDb, System::LongBool bExtended, System::LongBool 
  3673.     bSystem, System::PChar pszWild, hDBICur &hCur);
  3674. extern System::Word __stdcall DbiSetDirectory(hDBIDb hDb, System::PChar pszDir);
  3675. extern System::Word __stdcall DbiGetDirectory(hDBIDb hDb, System::LongBool bDefault, System::PChar pszDir
  3676.     );
  3677. extern System::Word __stdcall DbiSetToKey(hDBICur hCursor, DBISearchCond eSearchCond, System::LongBool 
  3678.     bDirectKey, System::Word iFields, System::Word iLen, System::Pointer pBuff);
  3679. extern System::Word __stdcall DbiResetRange(hDBICur hCursor);
  3680. extern System::Word __stdcall DbiSetRange(hDBICur hCursor, System::LongBool bKeyItself, System::Word 
  3681.     iFields1, System::Word iLen1, System::Pointer pKey1, System::LongBool bKey1Incl, System::Word iFields2
  3682.     , System::Word iLen2, System::Pointer pKey2, System::LongBool bKey2Incl);
  3683. extern System::Word __stdcall DbiGetSeqNo(hDBICur hCursor, System::Longint &iSeqNo);
  3684. extern System::Word __stdcall DbiDeleteRecord(hDBICur hCursor, System::Pointer pRecBuf);
  3685. extern System::Word __stdcall DbiModifyRecord(hDBICur hCursor, System::Pointer pRecBuf, System::LongBool 
  3686.     bFreeLock);
  3687. extern System::Word __stdcall DbiInsertRecord(hDBICur hCursor, DBILockType eLock, System::Pointer pRecBuff
  3688.     );
  3689. extern System::Word __stdcall DbiGetRecordCount(hDBICur hCursor, System::Longint &iRecCount);
  3690. extern System::Word __stdcall DbiGetRelativeRecord(hDBICur hCursor, System::Longint iPosOffset, DBILockType 
  3691.     eLock, System::Pointer pRecBuff, pRECProps precProps);
  3692. extern System::Word __stdcall DbiGetRecord(hDBICur hCursor, DBILockType eLock, System::Pointer pRecBuff
  3693.     , pRECProps precProps);
  3694. extern System::Word __stdcall DbiGetPriorRecord(hDBICur hCursor, DBILockType eLock, System::Pointer 
  3695.     pRecBuff, pRECProps precProps);
  3696. extern System::Word __stdcall DbiGetNextRecord(hDBICur hCursor, DBILockType eLock, System::Pointer pRecBuff
  3697.     , pRECProps precProps);
  3698. extern System::Word __stdcall DbiSetToCursor(hDBICur hDest, hDBICur hSrc);
  3699. extern System::Word __stdcall DbiSetToEnd(hDBICur hCursor);
  3700. extern System::Word __stdcall DbiSetToBegin(hDBICur hCursor);
  3701. extern System::Word __stdcall DbiCloseCursor(hDBICur &hCursor);
  3702. extern System::Word __stdcall DbiGetFieldDescs(hDBICur hCursor, pFLDDesc pfldDesc);
  3703. extern System::Word __stdcall DbiGetCursorProps(hDBICur hCursor, CURProps &curProps);
  3704. extern System::Word __stdcall DbiOpenTable(hDBIDb hDb, System::PChar pszTableName, System::PChar pszDriverType
  3705.     , System::PChar pszIndexName, System::PChar pszIndexTagName, System::Word iIndexId, DBIOpenMode eOpenMode
  3706.     , DBIShareMode eShareMode, XLTMode exltMode, System::LongBool bUniDirectional, System::Pointer pOptParams
  3707.     , hDBICur &hCursor);
  3708. extern System::Word __stdcall DbiCloseDatabase(hDBIDb &hDb);
  3709. extern System::Word __stdcall DbiOpenDatabase(System::PChar pszDbName, System::PChar pszDbType, DBIOpenMode 
  3710.     eOpenMode, DBIShareMode eShareMode, System::PChar pszPassword, System::Word iOptFlds, pFLDDesc pOptFldDesc
  3711.     , System::Pointer pOptParams, hDBIDb &hDb);
  3712. extern System::Word __stdcall DbiInitFn(System::Word iVer, pDBIEnv pEnv);
  3713. extern System::Word __stdcall DbiExit(void);
  3714. extern System::Word __stdcall DbiDLLExit(void);
  3715.  
  3716. }    /* namespace Bde */
  3717. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  3718. using namespace Bde;
  3719. #endif
  3720. //-- end unit ----------------------------------------------------------------
  3721. #endif    // Bde
  3722.