LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Sample from help giving compilation error
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Thursday, December 1, 2005 12:07:13 AM(UTC)
Groups: Registered
Posts: 4
Hello,
I am building application using the Leedtools sample from
Loading and Displaying an Image (C++ 5.0 and later)
But when i compile after building the sample as specified i am getting following compilation error.
TutorialDlg.cpp
D:\ATMT\VC++\Tutorial\TutorialDlg.cpp(194) : error C2065: 'ILEADRasterIO' : undeclared identifier
D:\ATMT\VC++\Tutorial\TutorialDlg.cpp(194) : error C2065: 'pRasterIO' : undeclared identifier
D:\ATMT\VC++\Tutorial\TutorialDlg.cpp(194) : error C2106: '=' : left operand must be l-value
I am importing the files[dll and ocx ] as specified in sample like
#import "c:\\winnt\\system32\\ltrvr14eu.dll" no_namespace, named_guids
#import "c:\\winnt\\system32\\ltr14eu.dll" no_namespace, named_guids
#import "c:\\winnt\\system32\\ltrvw14eu.ocx" no_namespace, named_guids
#import "c:\\winnt\\system32\\ltrio14eu.dll" no_namespace, named_guids, exclude("LoadResizeConstants")
#import "c:\\winnt\\system32\\ltrpr14eu.dll" no_namespace, named_guids
#import <LTRDC14eu.DLL> no_namespace, named_guids
What else should i specify more???
Thanks.
Regards,
Prasad
#2
Posted
:
Wednesday, December 7, 2005 5:18:19 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
You seem to have added the imports correctly. In your code, you
need to replace any occurrence of ILEADRasterIO, CLSID_LEADRasterIO or
IID_ILEADRasterIO with ILEADRasterIO_U, CLSID_LEADRasterIO_U and
IID_ILEADRasterIO_U repectively to indicate Unicode DLLs.
Bashar Abdulqaiyume
LEAD Technologies, Inc.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: Sample from help giving compilation error
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.