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 : Sunday, March 6, 2011 6:42:46 PM(UTC)
fengling

Groups: Registered
Posts: 11


I am a student doing a project. I follow the example of CDLL in LEADTOOLS 17. I am using visual studio 2010 MFC to do the project. I always have link error. I am not sure which lib files I should add. which lib files are correct for my job.
 

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.

#2 Posted : Monday, March 7, 2011 12:10:15 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

The lib files that you need to include in your application depend on the LEADTOOLS functions that you use.

They are documented in detail in the help topic "Files To Be Included With Your Application" in the "LEADTOOLS Raster Imaging C DLL" and "LEADTOOLS OCR C DLL" help files.

The files are installed by our setup in the following folder:
[LEADTOOLS 17]\Lib\CDLL\Win32

However, if you are trying to create a simple C DLL OCR demo, please see the following forum post:
http://support.leadtools.com/SupportPortal/cs/forums/36579/ShowPost.aspx#36579

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Tuesday, March 8, 2011 5:09:41 AM(UTC)
fengling

Groups: Registered
Posts: 11


Thanks. I have found those domes. By the way, my project can be run with no errors and warnings, but why there is no response with my "L_INT nRet = L_DlgOpen(m_hWnd, &OpenFileName, &FOParm);". no response with 'L_DlgOpen', there is no link error, so what may cause this problem?
Thanks.
 
#4 Posted : Tuesday, March 8, 2011 5:38:38 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

What is the value of the nRet (the return value) when you call L_DlgOpen?

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#5 Posted : Tuesday, March 8, 2011 5:44:58 AM(UTC)
fengling

Groups: Registered
Posts: 11


the return value is -152
 
#6 Posted : Tuesday, March 8, 2011 5:58:03 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Error number -152 means "You did not initialize the dialogs".
Try to call the L_DlgInit ( DLG_INIT_COLOR ) function before calling the L_DlgOpen function.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#7 Posted : Tuesday, March 8, 2011 6:38:11 AM(UTC)
fengling

Groups: Registered
Posts: 11


OK
Thanks.
 
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.071 seconds.