TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Migratinn from version 1.7 to 2.2

Forums › TWAIN Classic › Migratinn from version 1.7 to 2.2

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 4 months ago by spike.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 14, 2012 at 11:29 am #22775 Reply
    pallaviseth
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    need help migrating twain 1.7 to 2.2.
    Anyone please help me provideing step wise solution to this issue.
    we are using c# for the development.
    When we call
    TwRC rc =DSMparent(appid, IntPtr.Zero, TwDG.Control, TwDAT.Parent, TwMSG.OpenDSM, ref hwndp);

    Above line returning false. but it should returnsuccess as result.

    need a quick solution .please reply.

    September 4, 2012 at 7:13 pm #25684 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    Any chance you are compiling with platform=AnyCPU and then running on a 64-bit OS?
    That will run your code in a 64-bit process, which won’t be able to load the old (32-bit only) DSM.

    There’s no point using 64-bit TWAIN, because there are no 64-bit drivers, and 32-bit drivers are invisible to 64-bit apps.

    So make sure your app is compiled platform=x86

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Migratinn from version 1.7 to 2.2
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

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

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • 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.