Home › Forums › TWAIN Classic › MSG_XFERREADY never fired › Reply To: MSG_XFERREADY never fired
Found: when user interface is disabled, then the MSG_XFERREADY never fired.
In fact if inside my twainMessageLoop (that is fired only in the current source is enabled) i made folllow calls (in order):
1) twainProcedure(&m_appId,m_currentSource->getTwainIdentity(),DG_IMAGE,DAT_IMAGEINFO,MSG_GET,&imageInfo);
2) twainProcedure(&m_appId,m_currentSource->getTwainIdentity(),DG_IMAGE,DAT_IMAGELAYOUT,MSG_GET,&imageLayout);
3) twainProcedure(&m_appId,m_currentSource->getTwainIdentity(),DG_IMAGE,DAT_IMAGENATIVEXFER,MSG_GET,&imageHandle);
where, respectively, imageInfo, imageLayout and imageHandle are: TW_IMAGEINFO, TW_IMAGELAYOUT and TW_UINT32.
… and the scanner init transfer of image.
I ask confirm of this to twain experts.