Thank you very much. From my point of view this sounds as if there is a small but crucial difference between:
A:
- close simple scan
- start simple scan
B:
- click "new document" in simple scan
these should be functionally equivalent (with some potential optimization in approach B).
in reality they are not, and that is the problem.
where could it fail:
- internal state of the scanner could be invalid after running the commands from approach B
- state of simple scan could be invalid after running the commands from approach B, this could especially affect buffers (freed them and kept dangling pointers, ...)
Thank you very much. From my point of view this sounds as if there is a small but crucial difference between:
A:
- close simple scan
- start simple scan
B:
- click "new document" in simple scan
these should be functionally equivalent (with some potential optimization in approach B).
in reality they are not, and that is the problem.
where could it fail:
- internal state of the scanner could be invalid after running the commands from approach B
- state of simple scan could be invalid after running the commands from approach B, this could especially affect buffers (freed them and kept dangling pointers, ...)
I will ask Robert to double check this.