LEADTOOLS Support
Imaging
Imaging SDK Questions
Using our TWAIN API from inside a Win32 DLL
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, May 29, 2014 6:06:36 AM(UTC)
Groups: Registered, Tech Support
Posts: 207
Was thanked: 3 time(s) in 3 post(s)
The attached Visual Studio 2010 MFC C++ solution contains a DLL project and a MFC Dialog based Application which uses the DLL.
The DLL has 4 exported functions which internally use LEADTOOLS' TWAIN API.
The exported functions simply are renamed versions of the LEADTOOLS functions:
L_TwainInitSession = T_TwainInitSession
L_TwainEndSession = T_TwainEndSession
L_TwainAcquire = T_TwainAcquire
L_TwainSelectSource = T_TwainSelectSource.
This project is simply to illustrate how this can be done.
A good reference page for how to export C functions for use in C or C++ can be found
here.
Travis Montgomery
Senior Sales Engineer
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
LEADTOOLS Support
Imaging
Imaging SDK Questions
Using our TWAIN API from inside a Win32 DLL
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.