Post reply

Name
Email
Subject
Message icon                                  
Attach:
(Clear Attachment)
(more attachments)
Restrictions: 6 per post, maximum total size 4096KB, maximum individual size 2048KB
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
Enter or copy Vampyre Imaging Library as an verification (we ge a lot of registration spam):

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Galfar
« on: 3 January 2013, 20:20:17 »

You are not doing anything wrong.
Compiler in XE3 is just more strict and does not allow calling constructors inside instances.

builddemos.bat and buildLibrary.bat probably uses older Delphi version that you have installed (do you?).

Solution is to use latest version of Imaging from here http://galfar.vevb.net/imaging/smf/index.php/topic,806.0.html
or use older Delphi version or FPC.
Posted by: krapotkin
« on: 26 December 2012, 07:21:29 »

I'm trying to compile the library  under Delphi XE3

Code: Pascal
  1. procedure TSingleImage.Assign(Source: TPersistent);
  2. begin
  3.   if Source = nil then
  4.   begin
  5.     Create;
  6.   end
Compiler shows error:
[dcc32 Error] ImagingClasses.pas(583): E2382 Cannot call constructors using instance variables

but builddemos.bat and buildLibrary.bat does their work without any error (

what do I do wrong?