Einzelnen Beitrag anzeigen

braini4c

Registriert seit: 26. Jun 2008
13 Beiträge
 
#5

Re: sqlite3 Zeos requested database driver not found -mal wi

  Alt 14. Jan 2009, 18:53
Hallo Martin,

das mit dem host hat leider auch nix gebracht. Das ist die Stelle wo Zeos aussteigt:
Delphi-Quellcode:
{**
  Gets a driver which accepts the specified url.
  @param Url a database connection url.
  @return a found driver or <code>null</code> otherwise.
}

function TZDriverManager.GetDriver(const Url: string): IZDriver;
var
  I: Integer;
  Current: IZDriver;
begin
  Result := nil;
  for I := 0 to FDrivers.Count - 1 do
  begin
    Current := FDrivers[I] as IZDriver;
    if Current.AcceptsURL(Url) then
    begin
      Result := Current;
      Break;
    end;
  end;
end;
vielleicht hilft das ja. Die URL zur Laufzeit ist:
'zdbc:sqlite-3:///E:\DelphiProjects\db\main.db?UID=;PWD='
Viele Grüße + schonmal Danke für deine Bemühungen
Julian
  Mit Zitat antworten Zitat