dbExpress - como instalar um novo driver |
Top Previous Next |
|
// Installing the dbExpress Gateway
Installing under Windows
1. To install, the dll into either: the C:\WINNT\System32 Windows system directory Win 9x Under Windows 9x, the Windows system directory is called C:\Windows\System.
the Delphi6\Bin directory. If the Delphi directory is selected then the driver will only be usable within the Delphi6 IDE.
2. Edit the dbExpress setup files, which should be found in the Program Files > Common Files > Borland Shared > DBExpress directory. 3. In the dbxdrivers.ini file, add ([]) key to the list of installed drivers. For example:
[Installed Drivers] Interbase=1 MYSQL=1 MyDriver=1
4. In the dbxdrivers.ini file, add an MyDriver section to describe the driver:
[MyDriver] GetDriverFunc=Function inside dll (see dll doc) LibraryName=MyDLL.DLL VendorLib=Other.DLL BlobSize=-1 Database=DBNAME HostName=ServerName Password=password User_Name=user
----------------- outro exemplo: instalando driver Informix IDS 9.2 ----------
Installation Because this is a beta version, you should back up the current, shipping version of the files you will be replacing with the files contained in this beta so you can restore them without having to re-install the entire product.
Special installation instructions Install the Informix client software copy the dbexpinf.dll in to DELPHI\BIN make the changes described below to your dbxdrivers, dbxconnections ini files To connect to Informix IDS 9.2 from Delphi 6 Enterprise or C++Builder 6 Enterprise, add these entries to your dbxdrivers.ini and dbxconnections.ini. Make sure you have installed the Informix client software and can connect to the server using ILogin.
Note: The Informix client library is statically linked to this driver so the VendorLib name in the dbxdrivers.ini really doesn't matter.
Add the following to dbxdrivers.ini [Installed Drivers] Informix=1
[Informix] GetDriverFunc=getSQLDriverINFORMIX LibraryName=dbexpinf.dll VendorLib=isqlb09a.dll HostName=ServerName DataBase=Database Name User_Name=user Password=password BlobSize=-1 ErrorResourceFile= LocaleCode=0000 Informix TransIsolation=ReadCommited
Add the following to dbxconnections.ini [InformixConnection] DriverName=Informix DataBase=Database Name User_Name=user Password=password BlobSize=-1 ErrorResourceFile= LocaleCode=0000 Informix TransIsolation=ReadCommited
|