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
 Getting Access violation after updating to IE 10.3.0

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 - Jan 12 2022 : 09:03:08
Hello,

Today I updated IE from 10.0.0 to 10.3.0. After updating to this latest version getting Access violation.

In the Main form I have declared a variable ieSpEffect: TImageENView under Public.

The Main form opens a child form (dialog) as Modal.

From the child form I am access this variable and executing Proc. But I am getting Access violation in following code:
MainForm.ieSpEffect.Proc.Intensity(0, 255,Round(tbBrightness.Value / 2), False, True, True, True);


Here is the error message that I am getting:
<blockquote id="quote"><font size="2" face="Lato, Arial, Helvetica" id="quote"> <hr height="1" noshade id="quote">Access violation at address 000000000A3B7E70. Execution of address 000000000A3B7E70.[/quote]

I am using Delphi 10 Seattle.

What must be the problem?

TIA

Yogi Yang
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jan 16 2022 : 20:55:26
Thanks for updating us, Yogi.

Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jan 15 2022 : 00:42:06
Hello Nigel,

After posting here what I did was pull out a 15 days old backup of my project code and compiled it and on testing everything was working just great in this old code.

In short the code is working with latest version of IE!!

I am sorry for raising this issue without detailed testing.

Currently what I am doing is updating my old project code with changes that I have done in my software's latest code which is not working.

It I do find any problem I will get back here.

Thanks a lot for helping out.



Yogi Yang
xequte Posted - Jan 13 2022 : 20:26:34
Hi Yogi

Can you check those so we can narrow down the debugging.

Are you able to create a small demo that reproduces the issue.



Nigel
Xequte Software
www.imageen.com
yogiyang Posted - Jan 13 2022 : 00:27:47
Hello Nigel,

Here is the code that I am using:

  //declare in public
  ieSpEffect: TImageEnView;

  //Before calling the Dialog code is in MainForm
  ieSpEffect := TImageEnView.Create(Self);
  ieSpEffect.CurrentLayer.Bitmap.Assign(ieViewMain.CurrentLayer.Bitmap);
  if ieSpEffect.CurrentLayer.Bitmap.Width > 800 then
    ieSpEffect.Proc.Resample(800, -1, rfLanczos3);

  ieSpEffect.Update;

  //Create Instance of Dialog and Show
  frmContrest2Dlg := TfrmContrest2Dlg.Create(Self);
  frmContrest2Dlg.ShowModal

  //In Dialog on various controls change event code
  MainForm.ieSpEffect.Proc.Intensity(0, 255,Round(tbBrightness.Value / 2), False, True, True, True); //<== getting error here
  


 
What method do you use to create ieSpEffect

I am using the code:
ieSpEffect := TImageEnView.Create(Self);


 
At the time of the Intensity() call, are ieSpEffect or ieSpEffect.Proc NIL?

I have never checked if the variables are nil in code. This code was working perfectly for all these years without any problems whatsoever.

TIA

Yogi Yang
xequte Posted - Jan 12 2022 : 21:03:34
Hi Yogi

What method do you use to create ieSpEffect?

At the time of the Intensity() call, are ieSpEffect or ieSpEffect.Proc NIL?

Nigel
Xequte Software
www.imageen.com