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
 IE is raising Debugger Exception in IDE
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Nov 02 2021 :  06:43:50  Show Profile  Reply
Hello,

I am using Delphi 10 Seattle.

I just upgraded to IE 10.2.0.

Now when I load a PSD file the IDE raises this error:
---------------------------
Debugger Exception Notification
---------------------------
Project XXxxXX.exe raised exception class $C0000005 with message 'c0000005 ACCESS_VIOLATION'.
---------------------------
Break Continue Help
---------------------------

I don't understand as to why this is happening.

I am using following code:
ieTempMain := TImageEnView.Create(Self);
ieTempMain.IO.Params.PSD_LoadLayers := True;
ieTempMain.IO.Params.PSD_ReplaceLayers := True;
ieTempMain.IO.LoadFromFilePSD(PSDFName);


If I break here it points to the file iewic Line # 2001.

TIA

Yogi Yang

xequte

38198 Posts

Posted - Nov 02 2021 :  22:03:00  Show Profile  Reply
Hi

Please send me the PSD file to test.

Is this a 64bit project? Does adding ielib64.dll to your EXE folder resolve the issue?

If 64bit, add this code to the start of your project:

// Force use of IELib DLL for improved performance
// ImageEn will attempt to load the DLL even if it's not in the EXE folder. If the DLL isn't found or is an old version, an error will be raised
IEGlobalSettings().JPEGEngine := ieenDLL;
IEGlobalSettings().PNGEngine := ieenDLL;
IEGlobalSettings().JPEG2000Engine := ieenDLL;
IEGlobalSettings().CameraRawEngine := ieenDLL;





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