This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, March 6, 2011 6:42:46 PM(UTC)
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.
#2
Posted
:
Monday, March 7, 2011 12:10:15 AM(UTC)
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)
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)
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)
Groups: Registered
Posts: 11
#6
Posted
:
Tuesday, March 8, 2011 5:58:03 AM(UTC)
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)
Groups: Registered
Posts: 11
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.