TWAIN Working Group

Quarterly Newsletter Signup       
  • Home
  • About
    • What’s New?
    • Specification & Tools
    • Self Certification Process
    • TWAIN Features
    • TWAIN Direct
    • Membership
    • News
    • Events
    • Logo Usage
    • TWAIN License
    • Contact Us
  • Scanner User
    • Find Drivers
  • Driver Developer
  • Application Developer
  • Scanner Service Provider
  • TWAIN Forums
  • Resources
    • Find Certified Drivers

EnableDS throws AccessViolation in 64bit Application

Forums › TWAIN Classic › EnableDS throws AccessViolation in 64bit Application

This topic contains 2 replies, has 1 voice, and was last updated by  Nithya Gnanasekar 2 months, 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 19, 2018 at 9:31 am #50758 Reply

    Nithya G
    • Topics - 0
    • Replies - 0
    • Total Posts - 0

    Hi,

    We have migrated our c# Scanning feature to 64-bit. When i am calling EnableDS function, it throws AccessViolation(Attempted to read write protected memory) Exception in Windows 10 machine whereas in Windows 7 it is working fine. I am using Twain 2.1 DS Sample as my Data source.

    Please someone help me on this issue.

    Thanks in advance.

    November 21, 2018 at 9:35 am #50762 Reply

    Mark McLaughlin
    • Topics - 0
    • Replies - 0
    • Total Posts - 0

    The open source TWAIN C# project demonstrates communicating with TWAIN using C#, I recommend checking it to see how it marshals the data for communicating with a TWAIN Driver. The repository is here: https://github.com/twain/twain-cs

    November 21, 2018 at 10:28 am #50764 Reply

    Nithya Gnanasekar
    • Topics - 0
    • Replies - 0
    • Total Posts - 0

    Mark,

    I am receiving accessViolation in FreeImagex64.dll.

    I have analyzed Twain c# Project and it built on .Net Framework version 3.5. From one of the third party website, they mentioned “64-bit TWAIN Free Image Scanner virtual TWAIN driver” doesn’t have support in higher version of .Net Framework. When I set 3.5 framework for my application, it works fine. Please provide your comments.

    Thanks.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: EnableDS throws AccessViolation in 64bit Application
Your information:




Quick Links

TWAIN Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

Recent Topics

  • TwainDSM is crashing
  • TWAIN_SetCurrentResolution(100)
  • How to detect camera capture button without blocking video going to another app
  • Can I save the scanned image as a PDF?
  • Does TwainDSM.DLL Replace Twain_32.dll
  • Contact Us
Privacy Policy • Copyright © 2019 TWAIN Working Group • by iHwy, Inc.

Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.