This project has moved. For the latest updates, please go here.

Access violation opening data source

Aug 9, 2016 at 10:08 AM
Edited Aug 10, 2016 at 8:06 AM
Hello all,
I'm successfully using Saraff in my project to read from a lot of data sources.
With a particular device I get an Access Violation opening Data Source, when using other similar devices I can acquire without any issue. I attach TWAIN.LOG.
With the same device other programs work well.
Is there anything I'm missing?
In particular I get "Unprocessed message" 31F.
Thank you for your work and for your response.
Have a nice day.

Here is my TWAIN.LOG:
TWAIN_32.DLL - MESSAGE - CTwunk ::AppInitialize - Reset Log

TWAIN_32.DLL - MESSAGE - CTwunk ::OpenServer - Starting Thunker

TWAIN_32.DLL - MESSAGE - CTwunk ::CloseServer - Why Can't We Find The Thunker Window?

TWAIN_32.DLL - MESSAGE - DSM --DsmEntryDiagExit (RC = 0, CC = 0)

TWAIN_32.DLL - MESSAGE - CTWTRACE--CGM XRAY Scan Engine(394) to NULL:

TWAIN_32.DLL - MESSAGE - CTWTRACE--CONTROL, IDENTITY, GETFIRST

TWAIN_32.DLL - MESSAGE - DSM --DsmEntryDiagExit (RC = 0, CC = 0)

TWAIN_32.DLL - MESSAGE - CTWTRACE--CGM XRAY Scan Engine(394) to NULL:

TWAIN_32.DLL - MESSAGE - CTWTRACE--CONTROL, IDENTITY, GETNEXT

TWAIN_32.DLL - MESSAGE - DSM --DsmEntryDiagExit (RC = 7, CC = 0)

TWAIN_32.DLL - MESSAGE - CTWTRACE--CGM XRAY Scan Engine(394) to NULL:

TWAIN_32.DLL - MESSAGE - CTWTRACE--CONTROL, IDENTITY, GETDEFAULT

TWAIN_32.DLL - MESSAGE - DSM --DsmEntryDiagExit (RC = 0, CC = 0)

TWAIN_32.DLL - MESSAGE - CTWTRACE--CGM XRAY Scan Engine(394) to NULL:

TWAIN_32.DLL - MESSAGE - CTWTRACE--CONTROL, IDENTITY, OPENDS

TWAIN_32.DLL - MESSAGE - DSM --DSM_Entry - Nested Call Blocked

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 31F

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 31F

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message C20E

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message C20E

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message C20E

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message C20E

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message C20E

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message C20E

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message C20E

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message C20E

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message C20E

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113

TWAIN_32.DLL - MESSAGE - DSM ::DSM_Entry - Unserviced Message 113
Coordinator
Aug 10, 2016 at 5:55 PM
Hello, mbukovitz.
Try apply a STAThreadAttribute to a Main method.
Marked as answer by SARAFF on 8/27/2016 at 7:10 AM
Aug 31, 2016 at 9:29 AM
Hello,
I've already applied this attribute, but nothing changed. In particular I'm curious about Unserviced Message 113 message.
Thank you.
Coordinator
Aug 31, 2016 at 8:21 PM
Hello, mbukovitz.
Try acquire image with Saraff.Twain.Sample2 application.
Sep 1, 2016 at 12:18 AM
Hello Saraff,
I tried, but it crashes.
Il giorno 31/ago/2016, alle ore 21:22, SARAFF <[email removed]> ha scritto:

From: SARAFF

Hello, mbukovitz.
Try acquire image with Saraff.Twain.Sample2 application.

Read the full discussion online.

To add a post to this discussion, reply to this email ([email removed])

To start a new discussion for this project, email [email removed]

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com


Coordinator
Sep 2, 2016 at 7:19 PM
Hello, mbukovitz.
Which a programs work well?