Compiling and Compatibility

Compatibility

The CANlib API is designed to be upwards compatible; that is, an application written using a certain version of the SDK will run without modifications on a system where any newer version of the drivers are installed.

For example, if you develop an application using CANlib SDK version 3.7, the application will run without modifications on systems where driver 3.7, 3.8, ... is installed.

When you use the SDK to create an application, you use header files and import libraries. There's no need to recompile or relink your application if you want to run it on a system where a newer driver is installed. All runtime code is contained in the DLLs and the device driver files. The files in the SDK just contains API and constant definitions, and import libraries that reference the runtime DLLs.

In short, compile once, run anywhere!