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 : Wednesday, March 8, 2017 10:09:38 AM(UTC)

Hadi  
Hadi

Groups: Manager, Tech Support, Administrators
Posts: 218

Was thanked: 12 time(s) in 12 post(s)

When you are developing and deploying your application, you need to include the necessary LEADTOOLS runtime files in the form of DLLs in your projects output directory in order to make method/function calls into the SDK. Some of these DLLs need to be referenced by your project in order for it to compile, but some of them are loaded dynamically on an as needed basis. Therefore it is possible to compile and run the project yet receive an exception while running the application telling you that you are missing something. For example, if you get the 'CMP Codec is needed' exception, that means that you are attempting to load a CMP or JPEG image file but are not including the Leadtools.Codecs.Cmp.dll (.NET) or Lfcmp.dll (CDLL).

In order to find out which DLLs you need to include in your application, we provide links within the documentation that list out which DLLs are needed for which functionality. Here are some useful links:

.NET Files to be Included With your Application
C API Files to be Included With Your Application
C++ Class Library Files to be Included With Your Application
JavaScript Files To Be Included With Your Application

If you are using OCR, then here are some links on what DLLS are needed specifically for OCR:

.NET Files to be Included with Your OCR Application
C API Files to be Included with Your OCR Application

Another option to figure out exactly which DLLs you need to include in your project is to set your project's Output path to the Bin directory of the framework you are using and then run Process Explorer in order to see which DLLs are being referenced by your project like so:

UserPostedImage

Process Explorer is a free utility from Microsoft that you can download here:
http://technet.microsoft...sinternals/bb896653.aspx

To see the DLLs, click on View -> Lower Pane View -> DLLs.
To see the path of the DLLs, click on View -> Select Columns, go to the DLL tab, and select the Path checkbox.

Here is an example of running the Open Save Demo with its output path set to the Bin directory and seeing which DLLS are needed to load a CMP image.

UserPostedImage

Edited by moderator Wednesday, December 27, 2023 1:32:31 PM(UTC)  | Reason: Updated links to v20

Hadi Chami
Developer Support Manager
LEAD Technologies, Inc.

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.057 seconds.