Home › Forums › TWAIN Classic › getting TW_EXTIMAGEINFO › Reply To: getting TW_EXTIMAGEINFO
February 20, 2008 at 2:03 pm #24362
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…