- Topics - 9
- Replies - 583
- Total Posts - 592
If I were you I would start by declaring retval (usually refered to as rc) differently – it isn’t as simple as a bool.
then if you’re getting an rc != success you should check the conditioncode cc. in the twain spec look at chapter 10 ‘return codes and condition codes’
then post the appropriate rc and cc you’re getting and if you’re still unsure post back.