Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, May 29, 2014 6:06:36 AM(UTC)

Travis  
Travis

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.
File Attachment(s):
API - V18 - Twain API in DLL.zip (154kb) downloaded 50 time(s).
Travis Montgomery
Senior Sales Engineer
LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.040 seconds.