與我們聯絡

與 Tek 業務代表即時對談。 上班時間:上午 6:00 - 下午 4:30 (太平洋時間)

致電

請致電

與 Tek 業務代表即時對談。 上班時間:上午 8:30 - 下午 5:30 (太平洋時間)

下載

下載手冊、產品規格表、軟體等等:

下載類型
機型或關鍵字

意見回饋

How do I avoid the Open DriverLINX dialog box when my application starts?

問題:

How do I avoid the Open DriverLINX dialog box when my application starts?

答案:

How do I avoid the Open DriverLINX dialog box when my application starts?
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

KPCI-3101,KPCI-3102,KPCI-3103,KPCI-3104

kpci3100

KPCI-3110, KPCI-3116

kpci3100

KPCI-3107, KPCI-3108

kpci3108

KPCI-1801HC, KPCI-1802HC

kpci1800

KPCI-PIO24, KPCI-PIO96

kpcipio

KPCI-3160

kpci3160

KPCI-PDISO8A, KPCI-PIO32IOA

kpciiso

KPCI-3130,KPCI-3132

kpci3130

KPCI-3140

kpci3140

DAS-1800 Series

kmb1800

DAS-1700 Series

kmb1700

DAS-800 Series

kmb800

DAS-TC, DAS-TC/B

kdastc

DDA-08, DDA-16

kdda816

CTM-05, CTM-05/A, CTM-10

lmbctm

PIO-xx, REL-16, PDISO-8, PIO-SSR-XX

kmbpio

DAS-1600 Series (requires full path to the DLL)

c:\drvlinx4\kmbdas16.dll

DAS-8 Series (requires full path to the DLL)

c:\drvlinx4\kmbdas8.dll

KPCMCIA Analog I/O

kpcaiao

KPCMCIA-8AOU-C, KPCMCIA-8AOB-C

kpcao

KPCMCIA-PIO24-C

kpcpio

 


此常見問答集適用於:

沒有任何產品系列

產品:

常見問答集 ID 70091

檢視所有常見問答集 »