To avoid the Open DriverLINX dialog, provide the driver name to the application. In the case of the KPCMCIA-PIO24-C card, the driver name is kpcpio.
Typical code is shown below:C/C++: hInstance = OpenDriverLINX(hWnd,"kpcpio");
VB: DriverLINXSR1.Req_DLL_name = "kpcpio"
Delphi: DriverLINXSR1.Req_DLL_name := 'kpcpio';
If the DriverLINX driver for KPCMCIA-PIO24-C has been installed, then the code above would load the driver.
If the driver loading fails, because maybe your application has been run on a computer where the DriverLINX driver has not been installed, then the Open DriverLINX dialog will apprear to give you another chance to select a driver. To suppress this behavior, append a dollar sign character onto the end of the driver name as shown below:C/C++: hInstance = OpenDriverLINX(hWnd,"kpcpio$");
VB: DriverLINXSR1.Req_DLL_name = "kpcpio$"
Delphi: DriverLINXSR1.Req_DLL_name := 'kpcpio$';
Other driver names:
Model(s) Driver Name
CTM-05, CTM-05/A, CTM-10
PIO-xx, REL-16, PDISO-8, PIO-SSR-XX
DAS-1600 Series (requires full path to the DLL)
DAS-8 Series (requires full path to the DLL)
KPCMCIA Analog I/O