251 |
|
ibxeServiceNotStarted, |
252 |
|
ibxeNotRequiredDataSetSource, |
253 |
|
ibxeNoLimboTransactionInsert, |
254 |
< |
ibxeDatabaseNotConnected |
254 |
> |
ibxeDatabaseNotConnected, |
255 |
> |
ibxeMultiThreadRequired, |
256 |
> |
ibxeODSVersionRequired, |
257 |
> |
ibxeTokenQueueOverflow, |
258 |
> |
ibxeTokenQueueUnderflow, |
259 |
> |
ibxErrorParsing, |
260 |
> |
ibxeDLInfoError, |
261 |
> |
ibxeDifferentAPIs, |
262 |
> |
ibxeParameterNameNotFound |
263 |
|
); |
264 |
|
|
265 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |
282 |
|
SDefaultTransaction = '%s, Default'; |
283 |
|
SFirebirdAPIFuncNotFound = 'Unable to load Firebird Client Library Function "%s"'; |
284 |
|
SDatabaseFilter = 'Database Files (*.fdb; *.gdb)|*.gdb; *.fdb|All files (*.*)|*.*'; |
285 |
+ |
{$IFDEF WINDOWS} |
286 |
+ |
SLibraryNameFilter = 'DLLs (*.dll)|*.dll|All files (*.*)|*.*'; |
287 |
+ |
{$ELSE} |
288 |
+ |
SLibraryNameFilter = 'All files (*.*)|*.*'; |
289 |
+ |
{$ENDIF} |
290 |
|
STrue = 'true'; |
291 |
|
SFalse = 'false'; |
292 |
|
SArray = '(array)'; |
471 |
|
SNotRequiredDataSetSource = 'Object of class %s is not a valid dataset source'; |
472 |
|
SNoLimboTransactionInsert = 'You cannot add to a Limbo Transaction list'; |
473 |
|
SDatabaseNotConnected = 'Cannot connect using an unattached database'; |
474 |
+ |
SMultiThreadRequired = 'Multi-threading required for %s but not enabled. Please recompile with multi-threading support enabled. '+ |
475 |
+ |
'Hint: you probably need to add -dUseCThreads to the Custom Options.'; |
476 |
+ |
SODSVersionRequired = 'This feature requires ODS Version %s or later'; |
477 |
+ |
STokenQueueOverflow = 'Error in SQL Token Analyser - token queue overflow'; |
478 |
+ |
STokenQueueUnderflow = 'Error in SQL Token Analyser - token queue underflow'; |
479 |
+ |
SErrorParsing = 'Error parsing SQL Statement at clause starting with %s'; |
480 |
+ |
SDLInfoError = 'dlinfo returned error - %s'; |
481 |
+ |
SDifferentAPIs = 'All transaction attachments must use the same Firebird Library'; |
482 |
+ |
SParameterNameNotFound = 'Parameter Name (%s) not found'; |
483 |
|
|
484 |
|
const |
485 |
|
IBErrorMessages: array[TIBClientError] of string = ( |
653 |
|
SServiceNotStarted, |
654 |
|
SNotRequiredDataSetSource, |
655 |
|
SNoLimboTransactionInsert, |
656 |
< |
SDatabaseNotConnected |
656 |
> |
SDatabaseNotConnected, |
657 |
> |
SMultiThreadRequired, |
658 |
> |
SODSVersionRequired, |
659 |
> |
STokenQueueOverflow, |
660 |
> |
STokenQueueUnderflow, |
661 |
> |
SErrorParsing, |
662 |
> |
SDLInfoError, |
663 |
> |
SDifferentAPIs, |
664 |
> |
SParameterNameNotFound |
665 |
|
); |
666 |
|
|
667 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |