DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Graph new after merge give access violation

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
HPW
Senior Member


Joined: 25 Feb 2006
Posts: 120
Location: Germany

PostPosted: 19/03/06 14:08    Post subject: Graph new after merge give access violation Reply with quote

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
Back to top
View user's profile Send private message
HPW
Senior Member


Joined: 25 Feb 2006
Posts: 120
Location: Germany

PostPosted: 19/03/06 16:12    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
HPW
Senior Member


Joined: 25 Feb 2006
Posts: 120
Location: Germany

PostPosted: 19/03/06 16:17    Post subject: Reply with quote

Merge to 0.0 does not select any objects.
At other values it does.

_________________
Hans-Peter
Back to top
View user's profile Send private message
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 1044
Location: Tehran, Iran

PostPosted: 19/03/06 16:50    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
HPW
Senior Member


Joined: 25 Feb 2006
Posts: 120
Location: Germany

PostPosted: 19/03/06 17:26    Post subject: Reply with quote

Thanks again for the very fast fix!
Great work!

_________________
Hans-Peter
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group