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 »

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: 2300
Joined: Thu Jul 10, 2008 2:21 pm

Re: Auto-detection Page Size Access Violation

Post by Alex »

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: 2300
Joined: Thu Jul 10, 2008 2:21 pm

Re: Auto-detection Page Size Access Violation

Post by Alex »

Hello Aaron,

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

Best regards, Alexander
Post Reply