ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Error in Demos\FullApps\ImageEnPainter when...
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
727 Posts

Posted - Mar 28 2016 :  07:52:33  Show Profile  Reply
Hello,

I am playing with the demo ImageEn Painter.

In this I just added one single line of code in OnCreate Event of Form:
IO.Params.PSD_LoadLayers := True;

Now when I try to open any PSD file it crashes with a memory access violation error. The info provided by compiled exe is not useful.

When we run it in the IDE the error shows up in the ImageEnView module at line # 17540.
// Shortcut method to determine whether loAllowMultiSelect is defined in LayerOptions
function TImageEnView.LayersAllowMultiSelect: boolean;
begin
  Result := loAllowMultiSelect in fLayerOptions;  
end;


I am using ImageEn 6.2.1

TIA



Yogi Yang

xequte

38944 Posts

Posted - Mar 28 2016 :  17:06:07  Show Profile  Reply
Hi Yogi

ImageEnPainter is an extensive application, developed by a user. It was not designed to handle layers. Also, it accesses use of ImageEnView1.Bitmap, which we tend to avoid in more recent versions.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

yogiyang

India
727 Posts

Posted - Mar 29 2016 :  01:11:21  Show Profile  Reply
Hello,

So does it mean I cannot use it with layers?

TIA


Yogi Yang
Go to Top of Page

xequte

38944 Posts

Posted - Mar 29 2016 :  04:13:00  Show Profile  Reply
Hi Yogi

I'm sure you can, but you'll need to make a lot of changes to it.




Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: