xricht17 / twpp

TWAIN framework for C++11. Makes development of applications and data sources much easier.
MIT License
39 stars 17 forks source link

How should I can implement the interface of extImageInfoGet(const Identity& origin, ExtImageInfo& data)? #26

Closed liyingcheng712 closed 4 years ago

liyingcheng712 commented 4 years ago

Excuse me,I am writting a DS diver now ,and I am using your framework(twhpp). Recently,I am trying to implement you interface "extImageInfoGet(const Identity& origin, ExtImageInfo& data)",but I have no idea about what to do, can you give me a guidance?

 Thank you very much !
xricht17 commented 4 years ago

Hi,

I am afraid you will have to refer to the official TWAIN specification in order to properly implement a DS: https://www.twain.org/specification/.

TWPP is a rather thin layer that solves some common operations like memory management and instance creation. You still need to understand TWAIN to do anything more advanced, and building DS is quite advanced stuff.

liyingcheng712 commented 4 years ago

I got it! thank you very much