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

TWAIN log error: DSM_Entry – Invalid lpSrc

Forums › TWAIN Classic › TWAIN log error: DSM_Entry – Invalid lpSrc

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago by legolas.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 31, 2012 at 1:55 pm #22812 Reply
    legolas
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Hello everyone,

    I have a problem between TWAIN with Fujitsu fi-6110, when my application tries to enable the source is displayed the error in log file:

    TWUNK_16.EXE – ERROR – Twunk –InitFileLocks – Not Started By Twain
    TWUNK_16.EXE – ERROR – Twunk –WinMain – Posting Startup Failed To Twain
    TWAIN_32.DLL – MESSAGE – CTWTRACE–FUJITSU fi-6110dj(986) to GED(985):
    TWAIN_32.DLL – MESSAGE – CTWTRACE–CONTROL, [ 0000 ], XFERREADY
    TWAIN_32.DLL – ERROR – DSM –DSM_Entry – Invalid lpSrc

    But when I use the scanner Kodak ScanMate i920 works correctly, below my configurations:
    OS: Windows 7 32bits
    Twain Driver Fujitsu: http://www.fujitsu.com/global/support/computing/peripheral/scanners/drivers/twain/v1021310.html
    My application was developed with C# language. Thank you in advance for any help

    Legolas.

    January 8, 2013 at 9:07 pm #25774 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    Hi Legolas – or should I say “Gi nathlam hí”?

    It’s really hard for me to guess what might cause that error without knowing anything about your code.
    Did you write your TWAIN interface code from scratch, or did you get it somewhere, or you are using a library or component?
    Can you paste in the code that issues the MSG_ENABLEDS? You may have to trim it down to just the essentials.
    The error in the log suggests there might be something wrong with the pDest parameter, in the call to DSM_Entry that enables the scanner – is it a valid pointer to the same TW_IDENTITY structure that was used with MSG_OPENDS to open the scanner?

    January 10, 2013 at 5:23 pm #25775 Reply
    legolas
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Hi spike, thank for your answer.
    @spike wrote:

    It’s really hard for me to guess what might cause that error without knowing anything about your code.

    I’m sorry, I know which is difficult to say anything without see the code I understand.
    @spike wrote:

    Did you write your TWAIN interface code from scratch, or did you get it somewhere, or you are using a library or component?
    Can you paste in the code that issues the MSG_ENABLEDS? You may have to trim it down to just the essentials.

    I create the TWAIN interface using the exemple http://www.codeproject.com/Articles/1376/NET-TWAIN-image-scanner
    @spike wrote:

    The error in the log suggests there might be something wrong with the pDest parameter, in the call to DSM_Entry that enables the scanner – is it a valid pointer to the same TW_IDENTITY structure that was used with MSG_OPENDS to open the scanner?

    Yes I check if tye pDest parameter is it a valid pointer to TW_IDENDTY.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Reply #25774 in TWAIN log error: DSM_Entry – Invalid lpSrc
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

  • Scanner starts transfer when console gets closed (CITRIX)
  • Kodak RFS 3600
  • Didn’t save enough file scan
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • 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.