I modified the TwainDemo project as you can see in the image trying to find why I can't read RangeMin/RangeMax, but I found it also does not work if I do it in your code (even it is working good for reading the twain parameters (e.g. you will see the hint with de XResolution on the image). How can I do to know so I can set XResolution to the lowest?