Zeos get some Info
Posted: 28.12.2022, 17:44
Hi,
after some research i found the possibility in one of the zeos examples to ask ZEOS which protocols are supported.
But i had not found any possibility to ask ZEOS for standard names of the supported connection libraries and standard ports.
The SQLDB Package of Lazarus provides these possibilities and ai cannot imagine that ZEOS lacks such a possibility.
This package also provides some kind of proxy component that manages the connectors by chosen protocol. Does a similar structure exists in ZEOS?
Please guide me to the right track.
THX
after some research i found the possibility in one of the zeos examples to ask ZEOS which protocols are supported.
Code: Select all
Drivers := DriverManager.GetDrivers;
for I := 0 to Drivers.Count - 1 do
begin
Protocols := (Drivers.Items[I] as IZDriver).GetSupportedProtocols;
IZDriver.
for J := 0 to High(Protocols) do
ZProtocol.Items.Add(Protocols[J]);
end;
The SQLDB Package of Lazarus provides these possibilities and ai cannot imagine that ZEOS lacks such a possibility.
This package also provides some kind of proxy component that manages the connectors by chosen protocol. Does a similar structure exists in ZEOS?
Please guide me to the right track.
THX