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

Umax MagicScan32 problem

Forums › TWAIN Classic › Umax MagicScan32 problem

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 10 months ago by polo.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 3, 2010 at 10:00 am #22583 Reply
    polo
    Participant
    • Topics - 6
    • Replies - 5
    • Total Posts - 11

    Hello friends.

    At first i must say this forum is realy great, i have spent some time reading here when i was extending NetMasters Twain code.

    I have done some testing on Kodak i40 simulation twain driver (also the twain32 sample source). Everything was working fine, so i created a libraray and start testing on first real scanner i came a cross (an older UMAX scanner).

    I encourted problem, when i scan image and try to convert it from IntPtr to .net native Bitmap type the aplication crashes. This is only happening with Umax MagicScan32 v 4.3. When i installed Kodak twain driver on the mashine, everythin worked fine.

    I assume that there is a problem in converting DIB handle to .Net Bitmap structure. Becouse when i commented this code, application doesnt crash.

    Also .NetMasters original aplication works fine.

    Have anybody encountered similar problem?

    Thanks p.

    March 4, 2010 at 12:01 pm #25176 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    do any other sample projects crash? If you run the sample TWAIN2 application on SourceForge does it crash?

    https://sourceforge.net/projects/twain-samples/

    .

    March 4, 2010 at 2:35 pm #25177 Reply
    polo
    Participant
    • Topics - 6
    • Replies - 5
    • Total Posts - 11

    Hi Gabe,
    thanks for reply.

    Today i found the problem, and as usual it was problem in the code.

    the buffer i was reading bitmap header from was not locked. On my devel mashine was wverything working fine maybe becouse of muchmore memory on the mashine?. On testing mashine problem showed up, but only with MagicScan datasource. That was strange.

    Other programs such as Twacker or NetMasters demo were working fine.

    have a good time.
    p.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Umax MagicScan32 problem
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.