To use it you would need a "wrapper" dll written in a .NET language and to write that you would need a list of the entry point names in the dll and definitions of their parameter lists and return types.
As every barcode-scanner it's just a normal 'keyboard' when you scan a barcode. Therefore you can just use the scanner as a keyboard and make your PPC program as you would make it when would not have one. The only smart thing to do is make your scanner make a CR after scanning a barcode. You can use that to scan a barcode and confirm it via the CR. I have used the same way with my Symbol scanner and it works great!
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?
CR is carriage return / just a return after scanning a barcode; when you do it like that you can program that it goes to the next field:
firest input: scan sscc code (CR)
second input: scan batchcode (CR)
some program which makes a lot of checks regarding the first input sscc-code:
Sub QTSSCCcode_KeyPress (key)
If QTSSCCcode.Text="" AND Key=Chr(13) Then
Msgbox("SSCC code scannen")
If IsNumber (QTSSCCcode.Text) = False AND Key=Chr(13) Then
Msgbox("Dit is geen SSCCcode")
If StrLength(QTSSCCcode.Text) <> 6 AND Key=Chr(13) Then
Msgbox("moet 6 karakters zijn")
If Key=Chr(13) Then
QTvanlok.SelectionStart = 0 'goes to the next field named QTvanlok!