ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/client/FBMessages.pas
(Generate patch)

Comparing ibx/trunk/fbintf/client/FBMessages.pas (file contents):
Revision 45 by tony, Tue Dec 6 10:33:46 2016 UTC vs.
Revision 56 by tony, Mon Mar 6 10:20:02 2017 UTC

# Line 60 | Line 60
60   {                                                                        }
61   {************************************************************************}
62   unit FBMessages;
63 + {$IFDEF MSWINDOWS}
64 + {$DEFINE WINDOWS}
65 + {$ENDIF}
66  
67   {$IFDEF FPC}
68 < {$mode objfpc}{$H+}
68 > {$mode delphi}
69   {$codepage UTF8}
70   {$ENDIF}
71  
# Line 236 | Line 239 | type
239        ibxeParamBufferOverflow,
240        ibxeInvalidParamCount,
241        ibxeInvalidVariantType,
242 <      ibxeServiceRunning
242 >      ibxeServiceRunning,
243 >      ibxeUniqueRelationReqd,
244 >      ibxeInterfaceNotSupported
245        );
246  
247 < function GetErrorMessage(ErrMess: TIBClientError): string;
247 > function GetErrorMessage(ErrMess: TIBClientError): AnsiString;
248  
249   resourcestring
250    { generic strings used in code }
# Line 261 | Line 266 | resourcestring
266    SDatabaseFilter = 'Database Files (*.fdb; *.gdb)|*.gdb; *.fdb|All files (*.*)|*.*';
267    STrue = 'true';
268    SFalse = 'false';
269 +  SArray = '(array)';
270 +  SBlob = '(blob)';
271  
272   implementation
273  
# Line 405 | Line 412 | resourcestring
412    SPBIndexError = 'DPB Index out of range (%d)';
413    SPBParamTypeError = 'Invalid Request for DPB Param Type';
414    SDuplicateParamName = 'Blob or array parameter name must be unique (%s)';
415 <  SInvalidArrayDimensions = 'Invalid number of array dimensions {%d)';
415 >  SInvalidArrayDimensions = 'Invalid number of array dimensions (%d)';
416    SNotAMultiDatabaseTransaction = 'This is not a multi-database transaction';
417    SAttachmentListIndexError = 'Attachment List index out of range (%d)';
418    SNotAnArray = 'Table Column must be an array';
# Line 429 | Line 436 | resourcestring
436    SInvalidParamCount = 'Invalid Parameter Count. %d expected, %d found';
437    SInvalidVariantType = 'Invalid variant type';
438    SServiceRunning = 'Cannot start a new service while an existing service is running';
439 +  SUniqueRelationReqd = 'All Output Fields must derived from the same table';
440 +  SInterfaceNotSupported = 'Interface not supported; Guid %s not found';
441  
442   const
443    IBErrorMessages: array[TIBClientError] of string = (
# Line 590 | Line 599 | const
599      SParamBufferOverflow,
600      SInvalidParamCount,
601      SInvalidVariantType,
602 <    SServiceRunning
602 >    SServiceRunning,
603 >    SUniqueRelationReqd,
604 >    SInterfaceNotSupported
605    );
606  
607 < function GetErrorMessage(ErrMess: TIBClientError): string;
607 > function GetErrorMessage(ErrMess: TIBClientError): AnsiString;
608   begin
609    Result := IBErrorMessages[ErrMess];
610   end;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines