Forum Replies Created
- AuthorPosts
yeah, it was AccessViolationException.
ptr not null (0 or some value).
for example, in case of TW_CAMERA it was not in a first pass – it read about 4 characters (but nonsense characters). I have tryied document with no barcode, with one barcode and also one with 48 barcodes…So, i send trace info into the text file, and this is result for extimageinfo :
Standard ExtImageInfo Start
1200 4608 BarCodeX 0 UInt32 5 Success
1201 4609 BarCodeY 0 UInt32 5 Success
1202 4610 BarCodeText Str255 12 Success
1203 4611 BarCodeType 4294967295 UInt32 5 Success
...
1219 4633 BarCodeCount 0 Int32 2 Success
121A 4634 BarCodeConfidence 0 Int32 2 Success
121B 4635 BarCodeRotation 0 UInt32 5 Success
121C 4636 BarCodeTextLength 0 UInt32 5 Success
Standard ExtImageInfo Finished
strange is, that opentwain crash after acquiring image on HP N7710 (Epson RX585 and HP 4500C are ok). Problem was in twCapability.vb / m_ReadStr255 – when trying to read bytes from pointer returned by ACAP_XFERMECH, TWEI_BOOKNAME and TWEI_CAMERA. Try and catch on
byt = Runtime.InteropServices.Marshal.ReadByte(fixPtr, Position)
solved this, but i dont know where is the problem…
jop, and it’s set to true by default
twack, when set messagelevel:full, tells me only informations about tw_imageinfo and tw_imagelayout 🙁
i’ve found nothing 🙁 it seems like there is no other driver. grr. i will try some hp forum and we’ll see… thaks for help
i’m using driver supplied with scanner, these two files :
hp7710co.dll – Hewlett Packard ScanJet VendorSetup Extension Dynamic Link Library
hpgt7710.dll – Hewlett Packard ScanJet N7710 series common scanner interface library
Do you think that the problem is in these drivers? I tryied to found another on the HP web site, but it seems that this is the only one which they have 🙁thanks gabe, i will take a look to opentwain.
i’ve got one more question about capabilities… application supplied with my scanner (HP Scanjet N7710) can read barcodes. When i read supported capabilities there is no one ICAP_BARCODE*, but when i get CustomData i have found this line –
“BarType=0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0:BarAutoReadFront=1:BarAutoReadBack=1:BarcodeEnabled=1:BarcodeParameters=”.
So, support this scanner barcode detection or not? Reading TWEI_BARCODECOUNT always returns 0… 🙁
Is there a possibility that supplied application use ISIS besides twain?- AuthorPosts