Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

  • d2odbccfg_XX_XX_XX.dll – a library that enables the configuration of ODBC through a user interface (e.g.   d2odbccfg_2122_0_7074.dll).
  • d2odbcdrv_XX_XX_XX.dll – a library that implements the functionality of the ODBC interface (e.g. d2odbcdrv_2122_0_7074.dll). The library is a client of the D2000 application server and its version must be the same as the application server.

Note: 32-bit ODBC drivers are required for 32-bit programs, and 64-bit ODBC drivers are required for 64-bit programs. The drivers can connect to both 32-bit and 64-bit versions of the D2000.

...

  • Copying files: if the D2000 system is installed on the computer, it is necessary to copy the D2000 ODBC drivers from the inst_odbc directory to the bin directory in the installation directory.
    If D2000 is not installed on the computer, in addition to the drivers (d2odbccfg_XX_XX_XX.dll and d2odbcdrv_XX_XX_XX.dll), the libtzdate.dll file and the locales directory must be copied to the selected directory (e.g. C:\Windows\System32 or the directory in C:\Program Files). The locales directory is located in the installation directory, the libtzdate.dll file is in the bin subdirectory.
  • Driver registration: The odbcconf utility is used for registration. Example of running (on 64-bit Windows) for D2000 version 2122.0.70 74 installed in D:\D2000\D2000_EXE:
    %systemroot%/syswow64/odbcconf /A { INSTALLDRIVER "D2000 V21V22.0.70 74 Real Time Driver|Driver=D:\D2000\D2000_EXE\bin\d2odbcdrv_2122_0_7074.dll|Setup=D:\D2000\D2000_EXE\bin\d2odbccfg_2122_0_7074.dll"}
    In the example, you need to replace the D2000 version (V21V22.0.7074) as well as the library names (d2odbcdrv_2122_0_7074.dll and d2odbccfg_2122_0_7074.dll) and the path to them (D:\D2000\D2000_EXE\bin) with your own.

...

  • Copying files: if the D2000 system is installed on the computer, it is necessary to copy the D2000 ODBC drivers from the inst_odbc64 to the bin64 directory in the installation directory.
    If D2000 is not installed on the computer, in addition to the drivers (d2odbccfg_XX_XX_XX.dll and d2odbcdrv_XX_XX_XX.dll), the libtzdate.dll file and the locales directory must be copied to the selected directory (e.g. C:\Windows\System32 or the directory in C:\Program Files). The locales directory is located in the installation directory, the libtzdate.dll file is in the bin64 subdirectory.
  • Driver registration: The odbcconf utility is used for registration. Example of running for D2000 version 2122.0.70 74 installed in D:\D2000\D2000_EXE:
    %systemroot%/System32/odbcconf /A { INSTALLDRIVER "D2000 V21V22.0.70 74 Real Time Driver|Driver=D:\D2000\D2000_EXE\bin64\d2odbcdrv_2122_0_7074.dll|Setup=D:\D2000\D2000_EXE\bin64\d2odbccfg_2122_0_7074.dll"}
    In the example, you need to replace the D2000 version (V21V22.0.7074) as well as the library names (d2odbcdrv_2122_0_7074.dll and d2odbccfg_2122_0_7074.dll) and the path to them (D:\D2000\D2000_EXE\bin64) with your own.

...

  • install.exe - a program that after starting installes installs or updates ODBC driver "D2000 VXX.XX.XX Real Time Driver" in 32-bit version. The 64-bit version is not available.
  • d2odbccfg_XX_XX_XX.dll – a library that enables the configuration of ODBC through a user interface.
  • d2odbcdrv_XX_XX_XX.dll – a library that implements the functionality of the ODBC interface. The library is a client of the D2000 application server and its version must be the same as the application server.

PoznámkaNote: The names of dll files depend on the version, so after installing, the signs XX in the name are replaced by the number of versionversions. For example d2odbcdrv_10_1_39.dll.

...

Example of successful installation:


d:\d2000\D2000_V10.01.039\D2000_EXE\inst_odbc>install.exe
Updating file D2odbcdrv_10_1_39.dll
Updating file D2odbccfg_10_1_39.dll

The End


d:\d2000\D2000_V10.01.039\D2000_EXE\inst_odbc>

The names of both ODBC driver and dll files contain the name of a particular version of D2000 , because in OS Windows they share the name position (dll files are copied to the folder c:\windows\system32 and the name of the driver is in the list of available ODBC drivers).

LOG files, which contain the debug information, are placed in the directory that is written in a variable ALLUSERSPROFILE. Its value can be obtained in this way:


d:\d2000\D2000_V10.01.039\D2000_EXE\inst_odbc>echo %ALLUSERSPROFILE%
C:\ProgramData

d:\d2000\D2000_V10.01.039\D2000_EXE\inst_odbc>

...