|
<< Click to Display Table of Contents >> Delphi Examples: DbiGetDriverDesc |
![]() ![]()
|
Obtain information about a certain driver.
This example uses the following input:
fDbiGetDriverDesc('INTRBASE', TmpList);
The procedure is defined as:
Procedure fDbiGetDriverDesc(DrvName: string; DriverList: TStringList);
var
DrvDesc : DRVType;
begin
Check(DbiGetDriverDesc(PChar(DrvName), DrvDesc));
with DriverList do begin
Add('Driver Type: ' + DrvDesc.szType);
Add('Text: ' + DrvDesc.szText);
Add('Database Type: ' + DrvDesc.szDbType);
end;
end;