Auto-detection Page Size Access Violation

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Moderator: Alex

Post Reply
Aaron Jones
Posts: 5
Joined: Wed Sep 07, 2011 5:58 pm

Auto-detection Page Size Access Violation

Post by Aaron Jones » Wed Oct 26, 2011 8:44 pm

When I scan a page using Page size auto detection, an AccessViolationException occurs after the scanner completes scanning the page.

This happens with both Acquire and AcquireModal functions.
I've made sure that I have the most recent scanner drivers for the scanners I am using.
This happens with both the .NET 2.0 and the .NET 4.0 VintaSoftTwain dll
Choosing any other page size from the UI other than Auto-detection does not throw the exception.
Both scanners show IAutomaticBorderDetection and IAutoSize in the capabilities list
The exception is thrown by using the scanner UI to select Auto-detection for page size and also when setting the .PageAutoSize = PageAutoSize.Auto

Operating System: Windows 7 64-bit
Scanners: Canon DR-2050C and Canon DR-2510C

I tried using the DetectBorder function for each page scanned, but the page is not re-sized on the Canon DR-2510C, but it is on the Canon DR-2050C
Is there a way to either prevent the exception from occurring or to make the DetectBorder function work the same with both scanners?

Thanks,
Aaron

Alex
Site Admin
Posts: 1462
Joined: Thu Jul 10, 2008 2:21 pm

Re: Auto-detection Page Size Access Violation

Post by Alex » Sun Oct 30, 2011 1:58 pm

Hello Aaron,

Please generate log-file and send it and description of the problem to support@vintasoft.com.

Best regards, Alexander

Alex
Site Admin
Posts: 1462
Joined: Thu Jul 10, 2008 2:21 pm

Re: Auto-detection Page Size Access Violation

Post by Alex » Tue Nov 22, 2011 11:43 am

Hello Aaron,

The problem is fixed in version 8.0.2.1 of VintaSoftTwain.NET SDK.

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest