This project has moved. For the latest updates, please go here.

Fault with 1.0.14.415 Release?

Feb 13, 2015 at 12:23 AM
Have just upgraded from 1.0.13.387 and now the following 2010 VB.NET code fails -
  'Brightness
  If (_TWAIN.IsCapSupported(TwCap.Brightness) And TwQC.Set) <> 0 Then
    _TWAIN.SetCap(TwCap.Brightness, 0.0F) 'Allowed Values: -1000.0F to +1000.0F; Default Value: 0.0F;
  End If
Error Reported:
Unrecognized MSG DG DAT combination.
at Saraff.Twain.Twain32.IsCapSupported(TwCap capability)

Anyone else finding the same issue?

Shane.
Coordinator
Feb 13, 2015 at 7:23 PM
Hello, Shanearn.
See Saraff.Twain.Sample2. And see TWAIN Specification .
Feb 13, 2015 at 9:21 PM
Edited Feb 13, 2015 at 9:23 PM
Hello Saraff,

Thank-you for your quick reply. Unfortunately I must continue to advise that an error exists with 1.0.14.415.

The code fragment works perfectly with 1.0.13.387 and has been working daily on 3 different scanners (on 3 different computers) for the past couple of months. I simply updated to the new 1.0.14.415 release then re-compiled and it then failed on all 3 systems!

Reverting back to 1.0.13.387 and re-compiling fixed the problem.

Scanners in use:
EPSON Perfection V30/V300
TW-Brother MFC-J870DW LAN
Canon LiDE220

I see nothing in the Saraff.Twain.Sample2 or the TWAIN Specification which explains why it would fail after upgrading.

Regards,
Shane.
Coordinator
Feb 14, 2015 at 9:34 AM
Hello, Shanearn.
Your problem is not related with the update to version 1.0.14.415. Try download and run Saraff.Twain.NET Samples (use compiled files, they use version 1.0.14.415). Your problem is most likely due to incorrect sequence of method calls (OpenDSM -> OpenDataSource -> SetCap)
Coordinator
Feb 24, 2015 at 9:22 PM
Hello, Shanearn.
Try download latest source code.
Marked as answer by SARAFF on 3/2/2015 at 11:10 AM
Coordinator
Mar 4, 2015 at 7:59 PM
Hello, Shanearn.
This problem fixed in Saraff.Twain.NET 1.0.15.427 Release.
Mar 5, 2015 at 9:21 PM
Hello Saraff,
Thank you for the update information. I am on holidays for the next 4 weeks but will look at the new version when I return.
Regards,
Shane Arnfield