Home › Forums › TWAIN Classic › app does not respond to MSG_CLOSEDSREQ… › Reply To: app does not respond to MSG_CLOSEDSREQ…
August 3, 2007 at 9:29 am #24014
My wrapper was sending DG_CONTROL/DAT_NULL/MSG_CLOSEDSREQ to talk to the dsm.
I think I sent CloseDSRequest since otherwise there was no DG_CONTROL/DAT_PARENT/MSG_OPENDSM response.
This seems to be the cause of the problem.
DSM_Entry(&WrapperID, &AppID, DG_CONTROL, DAT_NULL, MSG_CLOSEDSREQ, (TW_MEMREF)NULL);
DSM_Entry(&WrapperID, NULL, DG_CONTROL, DAT_PARENT, MSG_OPENDSM, (TW_MEMREF)&in_hWnd);
DSM_Entry(&WrapperID, NULL, DG_CONTROL, DAT_IDENTITY, MSG_GETFIRST, (TW_MEMREF)&SecondDSID);
DSM_Entry(&WrapperID, NULL, DG_CONTROL, DAT_IDENTITY, MSG_OPENDS, (TW_MEMREF)&SecondDSID);
DSM_Entry(&WrapperID, &SecondDSID, DG_CONTROL, DAT_USERINTERFACE, MSG_ENABLEDS, (TW_MEMREF)&twUI);
:
Is there a way for the wrapper to open the dsm while maintaining its conversation with the app?