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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 IE is raising Debugger Exception in IDE

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yogiyang Posted - Nov 02 2021 : 06:43:50
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 02 2021 : 22:03:00
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