Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread EWB AVs After Search Paths Changed In Environment Options
Sat, Feb 10 2018 6:22 PMPermanent Link

Frederick Chin

I modified the three interfaces for TCheckBox so that the captions appear to the left of the icon.

If I insert or remove the path for the modified interfaces in the Search Paths of the Component Library in Environment Options and EWB rebuilds the library while a form is opened, it will AV if I attempt to drop a TCheckBox on the form.

I have to use Task Manager's End Task button to close it.

If I restart EWB and then drop the TCheckBox, there is no problem.

The following steps will cause the AV when I do not have the modified interfaces directory in the search path::-

1.   Start EWB.
2.   Close any projects.
3.   Create a new visual form.
4.   Add the modified interface directory in Environment Options, just above EWB's default interface path.
5.   Allow rebuild of the component library.
6.   Attempt to drop a TCheckBox on the form.
7.   EWB AVs.

The following steps will cause the AV when I have the modified interfaces directory in the search path::-

1.   Restart EWB.
2.   Close any projects.
3.   Create a new visual form.
4.   Remove the modified interface directory in Environment Options.
5.   Allow rebuild of the component library.
6.   Attempt to drop a TCheckBox on the form.
7.   EWB AVs.

I am not sure if it is the result of my modified interfaces. EWB is running in Windows 10.

--
Frederick
Mon, Feb 12 2018 4:40 AMPermanent Link

Matthew Jones

Frederick Chin wrote:

> Environment Options

While this is something Tim can obviously look at, I think I tend to put the additional paths for custom interfaces in the project options, not environment. This allows each project to be different. Might be worth a try if this is causing continued trouble.

--

Matthew Jones
Mon, Feb 12 2018 8:59 AMPermanent Link

Frederick Chin

"Matthew Jones" wrote:

/*
While this is something Tim can obviously look at, I think I tend to put the additional paths for custom interfaces in the project options, not environment. This allows each project to be different. Might be worth a try if this is causing continued trouble.
*/

I use the Environment Options because I want the customised interface to apply to all my projects. I could live with the AV but it is the End Task operation I have to perform that is a deal killer.

There was one time where after killing EWB via the Task Manager, all my icons in my Windows 10 taskbar were no longer responding to clicks.

--
Frederick
Mon, Feb 12 2018 2:44 PMPermanent Link

Raul

Team Elevate Team Elevate

On 2/10/2018 6:22 PM, Frederick Chin wrote:
> The following steps will cause the AV when I do not have the modified interfaces directory in the search path::-
>  <snip> > The following steps will cause the AV when I have the modified
interfaces directory in the search path::-
>

I would definitely send this info to elevate support email - Tim will
see it here but it might take little while.

Using support email he can work with you direct to duplicate and fix this.

Raul
Mon, Feb 12 2018 4:13 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Frederick,

<< The following steps will cause the AV when I do not have the modified interfaces directory in the search path::-

1.   Start EWB.
2.   Close any projects.
3.   Create a new visual form. >>

Step 3 is the issue - the EDB library rebuild process will close the current project, but not any open forms.  You can't have open forms referencing library controls/interfaces when you rebuild the library because any controls/components on the forms will now be pointing to non-existent classes/instances.

So, for now just "don't do that".  I'll make the adjustments to the IDE to prevent this in the future.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Feb 12 2018 8:29 PMPermanent Link

Frederick Chin

Tim,

/*
So, for now just "don't do that".  I'll make the adjustments to the IDE to prevent this in the future.
*/

Noted. I can confirm that not having any form opened during the rebuild will prevent the AV from popping up.

--
Frederick
Image