Home › Forums › TWAIN Classic › MSG_XFERREADY never fired › Reply To: MSG_XFERREADY never fired
July 17, 2009 at 10:05 pm #24944
Here i post another proof:
open same app, select brother source and press “scan” button.
here the log:
[235851125 dsm.cpp 398 183 00000A84] TWAIN Working Group
[235851125 dsm.cpp 399 183 00000A84] TWAIN 32 Source Manager (Image Acquisition Interface)
[235851125 dsm.cpp 400 183 00000A84] version: 2.0
[235851125 dsm.cpp 2028 183 00000A84]
[235851125 dsm.cpp 2029 183 00000A84] DG_CONTROL/DAT_PARENT/MSG_OPENDSM
[235851125 apps.cpp 215 183 00000A84] Application: "App's Manufacturer"
[235851125 apps.cpp 216 183 00000A84] "App's Product Family"
[235851125 apps.cpp 217 183 00000A84] "Specific App Product Name" version: 1.0
[235851125 apps.cpp 218 183 00000A84] TWAIN 2.0
[235851125 apps.cpp 1200 127 00000A84] Could not find DS_Entry function in DS: C:WINDOWStwain_32wiatwain.ds
[235851125 apps.cpp 528 127 00000A84] Condition Code: DS or DSM reported error, application shouldn't
[235851125 apps.cpp 1213 0 00000A84] Loaded library: C:WINDOWStwain_32BrMfSc08aMF790CWUBrTwdFe.ds
[235851390 apps.cpp 1213 0 00000A84] Loaded library: C:WINDOWStwain_32hpsj_0001hpsj_0001.ds
[235851390 apps.cpp 528 0 00000A84] Condition Code: DS or DSM reported error, application shouldn't
[235851390 apps.cpp 1213 6 00000A84] Loaded library: C:WINDOWStwain_32SampleTWSRC_32.ds
[235851390 apps.cpp 1213 0 00000A84] Loaded library: C:WINDOWStwain_32sample2TWAINDS_Sample32.ds
[235851390 dsm.cpp 596 18 00000A84] TWRC_SUCCESS
[235851390 dsm.cpp 2028 18 00000A84]
[235851390 dsm.cpp 2029 18 00000A84] DG_CONTROL/DAT_NULL/MSG_GET
[235851390 dsm.cpp 596 18 00000A84] TWRC_SUCCESS
[235851390 dsm.cpp 2028 18 00000A84]
[235851390 dsm.cpp 2029 18 00000A84] DG_CONTROL/DAT_IDENTITY/MSG_GETFIRST
[235851390 dsm.cpp 596 18 00000A84] TWRC_SUCCESS
[235851390 dsm.cpp 2028 18 00000A84]
[235851390 dsm.cpp 2029 18 00000A84] DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT
[235851390 dsm.cpp 596 18 00000A84] TWRC_SUCCESS
[235851390 dsm.cpp 2028 18 00000A84]
[235851390 dsm.cpp 2029 18 00000A84] DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT
[235851390 dsm.cpp 596 18 00000A84] TWRC_SUCCESS
[235851390 dsm.cpp 2028 18 00000A84]
[235851390 dsm.cpp 2029 18 00000A84] DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT
[235851390 dsm.cpp 596 18 00000A84] TWRC_ENDOFLIST
[235851390 dsm.cpp 2028 18 00000A84]
[235851390 dsm.cpp 2029 18 00000A84] DG_CONTROL/DAT_IDENTITY/MSG_OPENDS
[235851390 apps.cpp 1145 18 00000A84] Datasource: "Brother Industries, Ltd."
[235851390 apps.cpp 1146 18 00000A84] "Brother MFL-Pro Scanner"
[235851390 apps.cpp 1147 18 00000A84] "TW-Brother MFC-790CW" version: 3.7
[235851390 apps.cpp 1148 18 00000A84] TWAIN 1.6
[235851390 apps.cpp 1213 0 00000A84] Loaded library: C:WINDOWStwain_32BrMfSc08aMF790CWUBrTwdFe.ds
[235851750 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851750 dsm.cpp 2028 0 00000A84]
[235851750 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CALLBACK/MSG_REGISTER_CALLBACK
[235851750 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851750 dsm.cpp 2028 0 00000A84]
[235851750 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851750 dsm.cpp 2039 0 00000A84] CAP_SUPPORTEDCAPS
[235851750 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851750 dsm.cpp 2028 0 00000A84]
[235851750 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851750 dsm.cpp 2039 0 00000A84] CAP_DEVICEONLINE
[235851750 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_FEEDERENABLED
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_AUTOFEED
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_CLEARPAGE
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_FEEDERLOADED
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_UICONTROLLABLE
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_INDICATORS
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_XFERCOUNT
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_DUPLEX
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_DUPLEXENABLED
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] CAP_DEVICEEVENT
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_XFERMECH
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_PIXELTYPE
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_PIXELFLAVOR
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_BITDEPTH
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_BITDEPTHREDUCTION
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_BITORDER
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_PLANARCHUNKY
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_BRIGHTNESS
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_CONTRAST
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851765 dsm.cpp 2028 0 00000A84]
[235851765 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851765 dsm.cpp 2039 0 00000A84] ICAP_COMPRESSION
[235851765 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851781 dsm.cpp 2028 0 00000A84]
[235851781 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851781 dsm.cpp 2039 0 00000A84] ICAP_IMAGEFILEFORMAT
[235851781 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851781 dsm.cpp 2028 0 00000A84]
[235851781 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851781 dsm.cpp 2039 0 00000A84] ICAP_UNITS
[235851781 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851781 dsm.cpp 2028 0 00000A84]
[235851781 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851781 dsm.cpp 2039 0 00000A84] ICAP_PHYSICALHEIGHT
[235851781 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851781 dsm.cpp 2028 0 00000A84]
[235851781 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851781 dsm.cpp 2039 0 00000A84] ICAP_PHYSICALWIDTH
[235851781 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851781 dsm.cpp 2028 0 00000A84]
[235851781 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851781 dsm.cpp 2039 0 00000A84] ICAP_SUPPORTEDSIZES
[235851781 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851781 dsm.cpp 2028 0 00000A84]
[235851781 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851781 dsm.cpp 2039 0 00000A84] ICAP_UNDEFINEDIMAGESIZE
[235851781 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851781 dsm.cpp 2028 0 00000A84]
[235851781 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851781 dsm.cpp 2039 0 00000A84] ICAP_XRESOLUTION
[235851781 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851781 dsm.cpp 2028 0 00000A84]
[235851781 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851781 dsm.cpp 2039 0 00000A84] ICAP_YRESOLUTION
[235851781 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235851781 dsm.cpp 2028 0 00000A84]
[235851781 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235851781 dsm.cpp 2039 0 00000A84] ICAP_FLIPROTATION
[235851781 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235857546 dsm.cpp 2028 0 00000A84]
[235857546 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_USERINTERFACE/MSG_ENABLEDS
[235857562 dsm.cpp 2028 0 00000A84]
[235857562 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_NULL/MSG_XFERREADY
[235857562 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235857562 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235857562 dsm.cpp 2028 0 00000A84]
[235857562 dsm.cpp 2029 0 00000A84] DG_IMAGE/DAT_IMAGEINFO/MSG_GET
[235857562 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235857562 dsm.cpp 2028 0 00000A84]
[235857562 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_CAPABILITY/MSG_GET
[235857562 dsm.cpp 2039 0 00000A84] ICAP_XFERMECH
[235857562 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235857562 dsm.cpp 2028 0 00000A84]
[235857562 dsm.cpp 2029 0 00000A84] DG_IMAGE/DAT_IMAGEINFO/MSG_GET
[235857562 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235857562 dsm.cpp 2028 0 00000A84]
[235857562 dsm.cpp 2029 0 00000A84] DG_IMAGE/DAT_IMAGENATIVEXFER/MSG_GET
[235911046 dsm.cpp 596 0 00000A84] TWRC_XFERDONE
[235911093 dsm.cpp 2028 0 00000A84]
[235911093 dsm.cpp 2029 0 00000A84] DG_IMAGE/DAT_EXTIMAGEINFO/MSG_GET
[235911093 dsm.cpp 596 0 00000A84] TWRC_FAILURE
[235911093 dsm.cpp 2028 0 00000A84]
[235911093 dsm.cpp 2029 0 00000A84] DG_IMAGE/DAT_EXTIMAGEINFO/MSG_GET
[235911093 dsm.cpp 596 0 00000A84] TWRC_FAILURE
[235911093 dsm.cpp 2028 0 00000A84]
[235911093 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_PENDINGXFERS/MSG_ENDXFER
[235911093 dsm.cpp 596 1008 00000A84] TWRC_SUCCESS
[235911093 dsm.cpp 2028 0 00000A84]
[235911093 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_USERINTERFACE/MSG_DISABLEDS
[235911093 dsm.cpp 2028 0 00000A84]
[235911093 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_NULL/MSG_CLOSEDSREQ
[235911093 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235911093 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235916421 dsm.cpp 2028 0 00000A84]
[235916421 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_IDENTITY/MSG_CLOSEDS
[235916421 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
[235916421 dsm.cpp 2028 0 00000A84]
[235916421 dsm.cpp 2029 0 00000A84] DG_CONTROL/DAT_PARENT/MSG_CLOSEDSM
[235916421 dsm.cpp 596 0 00000A84] TWRC_SUCCESS
If u see, the source sends the triplet DG_CONTROL/DAT_NULL/MSG_XFERREADY; i suspect that there is a problem with subclassing window procedure inside my appp (that is a dll)…