gclib  1.37.6
Communications API for Galil controllers and PLCs
Microsoft Windows

Tested versions

See the installation page for supported versions.


On Windows, gclib is distributed in the following formats.

  • An executable installer which will install the library in the proper location to work with the included examples and documentation. PCI users can optionally install the PCI driver from within this installer.
  • A zip file containing the same set of files as the executable but in a zip archive. PCI users can use the stand-alone PCI driver installer.
    • A stand-alone PCI driver installer for PCI users (DMC-1806, 1800, 1802, 1417).
The PCI driver is compatible with GalilTools but is enhanced for gclib/GDK communications.

Download Installer

Recommended. All instructions and examples depend on the installation paths.

Download Download from the release notes page

Download Zip

For custom deployment or non-default file locations. Downloads are available on the release notes page.

Required third-party DLLs

gclib is built using MSVC 2017 and requires run-time components available in the Microsoft Visual C++ Redistributable for Visual Studio 2017

The gclib installer will automatically install these prerequisites for both 32 bit (x86) and 64 bit (x64) builds.

If using the zip installation, the binaries must be downloaded and installed manually.

Silent Installation

For developers wishing to bundle gclib within their own installers, execute the gclib installer with the /S switch to run silently with defaults. If the Galil security certificate is not already trusted on the deployment target, a digital signature dialog may be presented.


Run uninstall.exe in "C:\Program Files (x86)\Galil\gclib"

Alternatively, the Add or remove programs Control Panel can be used to remove all Galil software by product.

Upgrading and Older Versions

The release notes page lists all available versions of gclib. Galil recommends uninstalling any current version of gclib before installing other versions.

Download Download from the release notes page

Installed Directories

The installation is organized into several directories.


The dll directory contains the binary dynamic link libraries (DLLs) for x86 and/or x64 architectures. Dynamically linked executables must have the correct dlls in their path at runtime.


The doc directory contains this documentation and a printable, pdf version.


The examples directory contains example projects for various compilers. The cpp directory contains x_examples.h and the implementation of the example files documented in this manual.

Before using the examples, copy the files to a user location such as C:\Users\user\Documents. Failing to do so may cause source files to be deleted upon gclib uninstallation.


The include directory contains header files needed for compiling code. The compiler will need to know where these files are at compile time.
See the compiler-specific directions for more information, e.g. mingw.


The lib directory contains linker files (gclib.lib and gclibo.lib) for x86 and/or x64 architectures. The linker should include gclib.lib and gclibo.lib.


The source directory contains source files such as gclibo.c.