Thank you dzt, but this programm is not handy for me. I need more options. I have made my own programm VShtrih (http://www.avvsoft.ru/actpage.php?$npage=download). It is more handy but it has only russian translation. In future I want to translate it in english.
Thank you sunnyboyj. Pretec barcode-scanner work only then their driver is work. But if you turn off the device, scanner won't work until you restart the driver. And I want use dll in my programm to stop this error. I can start and close driver in my programm but I can't check when scaner is connected to device and when it is not. It is important becourse if you start driver before you connect scanner, scanner won't work.
And what is CR?