- This topic has 0 replies, 1 voice, and was last updated 14 years, 7 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
Forums › TWAIN Classic › General TWAIN question about UI
Hello:
When I use this code:
TW_FILESYSTEM fs;
memset(fs,0,sizeof(fs));
strcpy(fs.InputName,”FOLDER”);
fs.Recursive = 1;
DSMEntry( &app, &src, DG_CONTROL, DAT_FILESYSTEM, MSG_DELETE, &fs );
I always get a failure. When I look at the condition code, I get Bad Protocol. Please help! The TWAIN specification says that the Bad Protocol means it isn’t supported, and the twain.h file says its a bad MSG, DAT and DG combination. If it isn’t supported, how come the UI can delete the images?? How can I delete the images??? Am I doing something wrong?