Home › Forums › TWAIN Classic › If there is conflict between TWAIN 1.X and TWAIN 2.0…
- This topic has 3 replies, 3 voices, and was last updated 14 years, 3 months ago by Catherine Sea.
- AuthorPosts
Now our application is using TWAIN2.0 for our scan functions. but in these days, I got a strange issue:
1. The issue is occured in Vista 64Bit OS.
2. If our application with TWAIN 2.0 is installed the OS, then TWAINDSM.dll is installed in C:WindwosSysWoW64, in the time, our application work fine without problem.
3. But when Photoshop is installed, TWAIN 1.X file (TWAIN32.dll ) is installed in C:WindwosSysWoW64 too, in the time, our applictaion can open datasource ,but the scan cannot start, during we tracing, it is found the DS message cannot be got by our application and driver hangup.
4. Now EPSOn driver is used to verify .I cannot confirm if the issue is from driver side or DSM side,
Hope I can get the help from your…Thank you very much.
twain32.dll should not be in the c:WindowsSysWoW64, it should only be in c:Windows
There was an issue with an older version of the TWAIN 2.0 DSM that could not handle this issue, but it has been resolved.Make sure you are using the latest version of the TWAIN2 DSM.
Can you post a TWAIN2 DSM log file?
http://www.twainforum.org/viewtopic.php?p=7695Regards,
Jim Watters**************************************************
JFL Peripheral Solutions Inc.
http://www.jflinc.com/
Your Expert Source of Custom Software and Services
for TWAIN Applications, Data Sources,
Peripheral Drivers and Support Software.
**************************************************Dear Jim,
Thank you very much, I have used TWAIN2.1 to verify the issue, work fine now, I used TWAIN2.05 before now.
Following is the log information from TWAIN2.05:
[143207812 dsm.cpp 398 0 00000610] TWAIN Working Group
[143207812 dsm.cpp 399 0 00000610] TWAIN 32 Source Manager (Image Acquisition Interface)
[143207812 dsm.cpp 400 0 00000610] version: 2.0
[143207812 dsm.cpp 2028 0 00000610]
[143207812 dsm.cpp 2029 0 00000610] DG_CONTROL/DAT_PARENT/MSG_OPENDSM
[143207812 apps.cpp 215 0 00000610] Application: “NewSoft”
[143207812 apps.cpp 216 0 00000610] “Prestopm”
[143207812 apps.cpp 217 0 00000610] “Prestopm” version: 1.0
[143207812 apps.cpp 218 0 00000610] TWAIN 2.0
[143207812 apps.cpp 1200 127 00000610] Could not find DS_Entry function in DS: C:WINDOWStwain_32wiatwain.ds
[143207812 apps.cpp 528 127 00000610] Condition Code: DS or DSM reported error, application shouldn’t
[143207937 apps.cpp 1213 0 00000610] Loaded library: C:WINDOWStwain_32OTTwainDM262.ds
[143207937 apps.cpp 528 0 00000610] Condition Code: DS or DSM reported error, application shouldn’t
[143207937 apps.cpp 1213 6 00000610] Loaded library: C:WINDOWStwain_32SampleTWSRC_32.ds
[143207937 apps.cpp 1213 6 00000610] Loaded library: C:WINDOWStwain_32escndvbx310.ds
[143207937 apps.cpp 1213 6 00000610] Loaded library: C:WINDOWStwain_32escndvlpm5500.ds
[143207937 apps.cpp 1213 6 00000610] Loaded library: C:WINDOWStwain_32escndvwor310.ds
[143207953 apps.cpp 1213 0 00000610] Loaded library: C:WINDOWStwain_32hp_0000hp_0000.ds
[143207953 apps.cpp 528 0 00000610] Condition Code: DS or DSM reported error, application shouldn’t
[143207968 apps.cpp 1213 0 00000610] Loaded library: C:WINDOWStwain_32hp_0007hp_0007.ds
[143207968 apps.cpp 528 0 00000610] Condition Code: DS or DSM reported error, application shouldn’t
[143208296 apps.cpp 1162 1114 00000610] Could not load library: C:WINDOWStwain_32BrMfSc09MF8860DUBrTwdFe.ds
[143208296 apps.cpp 528 1114 00000610] Condition Code: DS or DSM reported error, application shouldn’t
[143208296 dsm.cpp 596 18 00000610] TWRC_SUCCESS
[143208296 dsm.cpp 2028 18 00000610]
[143208296 dsm.cpp 2029 18 00000610] DG_CONTROL/DAT_NULL/MSG_GET
[143208296 dsm.cpp 596 18 00000610] TWRC_SUCCESS
[143208296 dsm.cpp 2028 18 00000610]
[143208296 dsm.cpp 2029 18 00000610] DG_CONTROL/DAT_IDENTITY/MSG_GETFIRST
[143208296 dsm.cpp 596 18 00000610] TWRC_SUCCESS
[143208296 dsm.cpp 2028 18 00000610]
[143208296 dsm.cpp 2029 18 00000610] DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT
[143208296 dsm.cpp 596 18 00000610] TWRC_SUCCESS
[143208296 dsm.cpp 2028 18 00000610]
[143208296 dsm.cpp 2029 18 00000610] DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT
[143208296 dsm.cpp 596 18 00000610] TWRC_SUCCESS
[143208296 dsm.cpp 2028 18 00000610]
[143208296 dsm.cpp 2029 18 00000610] DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT
[143208296 dsm.cpp 596 18 00000610] TWRC_SUCCESS
[143208296 dsm.cpp 2028 18 00000610]
[143208296 dsm.cpp 2029 18 00000610] DG_CONTROL/DAT_IDENTITY/MSG_OPENDS
[143208296 apps.cpp 1145 18 00000610] Datasource: “EPSON”
[143208296 apps.cpp 1146 18 00000610] “EPSON Flatbed Scanner”
[143208296 apps.cpp 1147 18 00000610] “EPSON WorkForce 310/TX510” version: 3.72
[143208296 apps.cpp 1148 18 00000610] TWAIN 1.8
[143208296 apps.cpp 1213 6 00000610] Loaded library: C:WINDOWStwain_32escndvwor310.ds
[143210953 dsm.cpp 596 0 00000610] TWRC_SUCCESS
[143210953 dsm.cpp 2028 0 00000610]
[143210953 dsm.cpp 2029 0 00000610] DG_CONTROL/DAT_CALLBACK/MSG_REGISTER_CALLBACK
[143210953 apps.cpp 419 0 00000610] _pDSId is null…
[143210953 apps.cpp 528 0 00000610] Condition Code: Unrecognized MSG DG DAT combination
[143210953 dsm.cpp 596 0 00000610] TWRC_FAILURE
[143210953 dsm.cpp 2028 0 00000610]
[143210953 dsm.cpp 2029 0 00000610] DG_CONTROL/DAT_CAPABILITY/MSG_SET
[143210953 dsm.cpp 2039 0 00000610] ICAP_XFERMECH
[143210953 dsm.cpp 596 0 00000610] TWRC_
Thanks for your information.
Catherine Sea
http://www.dynamsoft.com/
TWAIN ActiveX/Plug-in- AuthorPosts