LEADTOOLS Support
General
General Questions
Delphi XE compiled error /w LEADTOOLS 19 + VCL
#1
Posted
:
Sunday, April 26, 2015 4:53:45 PM(UTC)
Groups: Registered
Posts: 1
Test Environment
Win7 / Delphi XE6 / LEADTOOLS eval(v19) / VCL
-----------------------------------------------
To confirm LEADTools installed properly.
1. Delphi c++ LEADTOOLS example Program
--compile - link - execute ==> good.
2. Delphi LEADTOOLS example Program
--compile - link - excute ==> good.
#
I tried to make new Project for loading/display
an Image.
#1 Add LEADImage component on the form1
#2 Add a button on the form1 named 'button1'.
#3 button1 click event;
procedure TForm1.Button1Click(Sender: TObject);
begin
LEADImage1.loadfromfile('c:\test.jpg',0,0,1);
end;
#4 add Uses for properly
LEADErr,LEADMain,Lttyp,Lterr,Ltfil,Ltkrn,
Ltdis,Ltlst,Ltfil_F;
# build config - debug / win32bit windows.
#5 compile
[dcc32 Fatal Error] Ltimgefx_F.Pas(330): F2051 Unit LEADMain was compiled with a different version of Ltfil_F.L_GetDefaultLoadFileOption
What the difference my project and LeadTools example project?
Thank.
#2
Posted
:
Monday, April 27, 2015 5:29:00 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
This might be caused by incorrect versions of DCU files. Our toolkit is shipped with DCU files for different versions of Delphi. Make sure your project only uses those files for XE6 and not other Delphi versions.
If that's not it, send an email to
support@leadtools.com and include a copy of your test project in that email.
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
LEADTOOLS Support
General
General Questions
Delphi XE compiled error /w LEADTOOLS 19 + VCL
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.