Hi Dominique,
Subsequent to writing this article, I put together an improved JTwain library that merges the libraries from this article and its predecessor, adds new features, and fixes bugs. I recommend that you go to http://javajeff.mb.ca/sw/sw.html
and download this library. I believe it will solve your problems.
I recently installed a new computer with Windows XP SP2. I plan to enhance JTwain with new features and thoroughly test it under XP (a Web camera, and another scanner) a bit later this year (when time permits). Hopefully, this will make JTwain an even better product.
All the best.
Jeff |