AnyDAC
ContentsIndexHome
PreviousUpNext
General Questions

The list of general questions and answers.

Group
Links
QG1: Is there 'Getting Started Guide' (aka 'Quick Start Guide') for AnyDAC?

A: First Steps to use AnyDAC 

QG2: What is the difference between trial and full versions?

A: AnyDAC Trial version: 

• does not include the library source code files; 

• an AnyDAC application shows "nag" screen on start, if a Delphi IDE is not running. 

 

QG3: Is AnyDAC thread safe?

A: Yes, it is. Read Multi Threading for more details. 

 

QG4: How to handle with Exceptions?

A: Read Handling Errors for details. And the code sample: 

 

uses
  uADPhysIBWrapper;

  try
    ...Login to Database...
  except
    { Login not correct }
    on E: Exception do
    begin
      if (E is EIBNativeException) and
         (EIBNativeException(E).Errors[0].ErrorCode = 335544472)
      then
        ShowMessage(strUserUnkown)  // your Errormessage
      else
        ShowMessage(E.Message);
    end;
  end;

 

QG5: I use Delphi 2009 with Firebird 2 with character set unicode_fss. I don't understand why AnyDAC generate TWideStringField in Delphi 2009 ?

A: In Delphi 2009:

  • TStringField is 1 byte ANSI string field;
  • TWideStringField is multi-byte Unicode string field.

So, that is correct behavior. Also read Unicode Support for details.

What do you think about this topic? Send feedback!