Home › Forums › TWAIN Classic › C++ Code Example Panini TWAIN 2.0 Interface
- This topic has 3 replies, 2 voices, and was last updated 12 years, 1 month ago by peterp.
- AuthorPosts
I’m looking for compilable C++ code that implements the Panini 2.0 Twain interface / driver. I don’t need your whole application but need a model for configuring the calls to the Twain functions.
In the absence of the Panini example, I would be interested in examples from other Twain interfaces.
Thanks for your help.
HJ
Each TWAIN driver contains the user interface for the scanners it manages. If you are writing a TWAIN application, the the UI for whatever scanner you’re talking to will come up automatically as appropriate.
To get started writing a TWAIN application, check out the TWAIN 2 sample application here:
Thanks for your help.
Is this code manageable with Code::Blocks, or is Visual Studio required?
HJ
The code sample comes with Visual Studio solution files, but it also comes with qmake if you need to build it for Linux.
In most cases, people just use this as an example of how to talk to a TWAIN scanner from inside their existing application. You can probably cut the source code you need from this example and paste it into your application no matter what development environment you’re using to develop with.
- AuthorPosts