Home › Forums › TWAIN Classic › TWAIN framework for C++11 (APP/DS)
- This topic has 2 replies, 2 voices, and was last updated 8 years, 8 months ago by xricht17.
- AuthorPosts
Hello everyone,
I have created a TWAIN framework for C++11 for both application and data source development:
>> https://github.com/xricht17/twpp << It’s header-only, and as close to the C API provided by twain.h as possible, while abstracting all the hassle with dynamic memory (and more).
I aim to fully support Windows, Linux and Mac OS (tested only on Windows at this time).I hope you give it a try (capability handling is particularly interesting). 🙂
License: MIT
Hey Martin – very interesting!
I am not writing so much TWAIN code these days, but I look forward to taking a close look at your framework, especially for the DS side.
Hmm, well, first I guess I have to upgrade to VS2015?Older versions of MSVC sadly don’t support all the C++11 features TWPP uses, especially constexpr.
It might work if you remove all constexpr keywords, though I think it is a waste of time, since MS released VS 2015 Community Edition for free.
Or you can try GCC (MinGW-w64) or CLang.Let me know (here or on GitHub) if it works for you, and what you (dis)like about the framework.
I’m still not 100% satisfied with DS API, so any feedback is greatly appreciated.- AuthorPosts