[fpc-pascal] TSQLDBLibraryLoader committed for SQLDB

Ludo Brands ludo.brands at free.fr
Wed Aug 22 13:12:46 CEST 2012


> (In the IDE: drop, set connector type from picklist, maybe 
> change library name, set to enabled).
> 
I'm having some problems using this in the IDE. The picklist is empty.
Probably something missing in 

procedure TSQLDBConnectorTypePropertyEditor.GetValues(
  Proc: TGetStrProc);

Var
  L : TStringList;
  I : Integer;
begin
  L:=TStringList.Create;
  try
    for I:=0 to L.Count-1 do
       Proc(L[i]);
  finally
    L.Free;
  end;
end;
 
because that is a no-op.

Also, if I understand the mode of operation correctly, the
TSQLDBLibraryLoader, when enabled, loads the library before the
TxxxConnection tries to load it. But how can you be sure TSQLDBLibraryLoader
is streamed before a TxxxConnection that has connected set to true




More information about the fpc-pascal mailing list