Graph new after merge give access violation

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

Graph new after merge give access violation

Postby HPW » March 19th, 2006, 2:08 pm

Porting over to 2.1 I found in plugin and standalone-demo that calling 'new' (SimpleGraph.Clear) after using merge gives an accessviolation. Also trying to delete the component (SimpleGraph.Free) after using merge gives an accessviolation.

I have added:

FEO_SETFONTSTRIKEOUT = 25;
FEO_RESETFONTSTRIKEOUT = 26;

for use in 'ForEachCallback'.
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby HPW » March 19th, 2006, 4:12 pm

Seems to have to do with the fact that the merged objects kept being selected after merging. When I deselect them first. it seems to work further a bit.

They should also be unselected, because after LoadFile there is also no objects selected.
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby HPW » March 19th, 2006, 4:17 pm

Merge to 0.0 does not select any objects.
At other values it does.
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » March 19th, 2006, 4:50 pm

Thanks HPW!

The bug is fixed, and the update is on the site.

HPW wrote:They should also be unselected, because after LoadFile there is also no objects selected.

I agree.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby HPW » March 19th, 2006, 5:26 pm

Thanks again for the very fast fix!
Great work!
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 3 guests

cron