64bit arithmetic overflow

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

Moderator: Alex

Post Reply
Posts: 1
Joined: Sat Jan 05, 2019 5:59 pm

64bit arithmetic overflow

Post by daveinhull » Sat Jan 05, 2019 6:03 pm


I only use VSwain for internal home use on one application and have been using it successfully for a few years under 32bit. I have now come to move to 64bit and I'm getting an arithmetic overflow when I come to open the device.

I'm writing using VS2017 in VB and I believe I have selected the 64bit version of the DLL.

Any quick thoughts?

Many thanks in advance

EDIT: some other information, this is in the call stack
> Vintasoft.Twain.dll!Vintasoft.Twain.DeviceCapability.GetUsageMode() Unknown

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

Re: 64bit arithmetic overflow

Post by Alex » Wed Jan 09, 2019 12:49 pm


For understanding the problem we need analyze log-file, which is generated by SDK.

You can generate log-file as follows:
  • Enable logging (add the line below to code of your application):

    Code: Select all

  • Run your application.
  • Send us a log-file to support@vintasoft.com
Best regards, Alexander

Post Reply