Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

CVI SQL Toolkit 1.0 returns "DLL Init Error: Failed to load qelib.dll"

Primary Software: LabWindows/CVI Add-ons>>Enterprise Connectivity Toolset
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: Why does CVI generate "DLL Init Error: Failed to load qelib.dll" when using the SQL Toolkit version 1.0?

Solution: The library qelib.dll references other DLLs in the system. Some of them are installed by CVI's SQL Toolkit, others by Microsoft.

For the SQL Toolkit 1.0 to work properly, the DLL import requirements are as follows:

    QELIB.DLL requires
    QEUTL03.DLL (Toolkit)
    QEMDS03.DLL (Toolkit)
    QESQL03.DLL (Toolkit)

    QEUTL03.DLL requires
    QEMDS03.DLL (Toolkit)

    QEMDS03.DLL requires only Microsoft DLLs

    QESQL03.DLL requires
    QEUTL03.DLL (Toolkit)
    QEGUI03.DLL (Toolkit)
    ODBC.DLL (Toolkit)


    QEGUI03.DLL (Toolkit)
    QEUTL03.DLL (Toolkit)

    ODBC.DLL requires
    CTL3DV2.DLL (Toolkit)
    ODBCINST.DLL (Toolkit)

Make sure the following files are on the system: