- This topic has 0 replies, 1 voice, and was last updated 15 years, 8 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › Forums › TWAIN Mac/OSX › Problem in MSG_ENABLED
Hi..
I have a sample TWAIN application that using JNI and call C++ lib in MAC.
My scanner is Cannon LIDE 25.I can do select source fine..but when Im going to acquire,the scanner window come and get disable..What can be the problem to this ?
this is my code to enable the Data Source
err = DSM_Entry(&mAppIdentity,NULL, DG_CONTROL, DAT_PARENT, MSG_OPENDSM, NULL);
err = DSM_Entry(&mAppIdentity,NULL, DG_CONTROL, DAT_IDENTITY, MSG_OPENDS,(TW_MEMREF)&mDSIdentity);
err = DSM_Entry(&mAppIdentity,&mDSIdentity,DG_CONTROL, DAT_USERINTERFACE, MSG_ENABLEDS,(TW_MEMREF)&userInter);
Can anyone give me a solution to this ?
Regards
Amila