Kvaser CANLIB: Welcome to Kvaser CANLIB!
Deploying Your Application

As an application programmer, you may want to distribute CANLIB32.DLL together with your application. If you choose to do so, you should place it in the application's directory. In this way you will not break any other applications on the computer.

If you install CANLIB32.DLL on the target system, and the rest of the device drivers are not installed, any call you make to CANLIB32.DLL will return an error code. You should be prepared for this situation and handle the error code in a constructive way in your application.

Pre-installing the device driver

As an application programmer you would perhaps like to programmatically install the required device driver without user intervention. Microsoft supports this in Windows XP, and later.

Windows XP and later

See the preinstall example in the Samples\PreInstall subdirectory in the SDK. Essentially you copy all the driver files to a directory on the target's hard disk, and then you call SetupCopyOEMInf to copy the .inf file.