Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread IDE error messages
Thu, Jul 6 2017 4:56 AMPermanent Link

Michael Dreher

I'm getting

 - Access violation at address 007F3684 in module ewbide.exe'. Read of adress 0000018C.
or
 - Instance is an invalid reference

in the IDE (version 2.06B2) for about 50% when opening existing projects (from the menu or from the welcome page) or when calling "File / Close All". This started last week. Any idea where I can look at? Thanks.

Michael Dreher
Thu, Jul 6 2017 10:16 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< in the IDE (version 2.06B2) for about 50% when opening existing projects (from the menu or from the welcome page) or when calling "File / Close All". This started last week. Any idea where I can look at? Thanks. >>

Normally, this type of thing is caused by a control that is parented to another control that it shouldn't be parented to, and that EWB isn't catching in the component library code.

If you have a project that does this, please send it over and I'll see if I can reproduce it here.  If I can, then we're all set and I can get a fix out ASAP.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jul 27 2017 3:16 AMPermanent Link

Michael Dreher

Tim Young [Elevate Software] wrote:

 // If you have a project that does this, please send it over and I'll see if I can
 // reproduce it here.  If I can, then we're all set and I can get a fix out ASAP.

Sorry for the delayed answer. While I was preparing a project, I found the reason for this. I forgot to call the inherited constructor in a component.

type
 TftUpdateCheck2 = class(TComponent)
 // ..
 end;

constructor TftUpdateCheck2.Create(aOwner : TComponent);
begin
 inherited Create(aOwner); // <<<<--- this was missing
 // ...
end;

The AV is shown every time a TForm containing the component will be closed in the IDE.

Michael Dreher
Thu, Jul 27 2017 10:47 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Michael,

<< Sorry for the delayed answer. While I was preparing a project, I found the reason for this. I forgot to call the inherited constructor in a component. >>

Okay, I'll see what the issue is.

Tim Young
Elevate Software
www.elevatesoft.com
Image