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, December 1, 2005 12:12:13 AM(UTC)
Buddyhere

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

 

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 : Wednesday, December 7, 2005 5:23:19 AM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,040

Was thanked: 1 time(s) in 1 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.
 
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-2019, Yet Another Forum.NET
This page was generated in 0.114 seconds.