Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Application crashes when using deleteitem function on a link (Read 676 times)
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Application crashes when using deleteitem function on a link
Dec 12th, 2022 at 3:35pm
Print Post  
Hello,

I am using the version 4.5 of you activeX.
I have the follwing problem.
In some cases, if I move a box with the mouse in a graph, the application crashes when I release the mouse with the following event :
----------------------------------------------------------------------------
Nom de l’application défaillante PB210.exe, version : 21.0.0.1509, horodatage : 0x625ecbca
Nom du module défaillant : fcxstd32.dll, version : 4.5.0.0, horodatage : 0x4ea26dae
Code d’exception : 0x40000015
Décalage d’erreur : 0x00101776
ID du processus défaillant : 0x3f2c
Heure de début de l’application défaillante : 0x01d90e35d25b564f
Chemin d’accès de l’application défaillante : C:\Program Files (x86)\Appeon\PowerBuilder 21.0\PB210.exe
Chemin d’accès du module défaillant: C:\WINDOWS\System32\fcxstd32.dll
ID de rapport : b7fc09ab-661b-4fbf-9cff-ed0276fc5d96
Nom complet du package défaillant :
ID de l’application relative au package défaillant :
-----------------------------------------------------------------------------

The activeX is used in an application made with PowerBuilder 2021.
The crash is in a code line using your function deleteitem to delete a link.

Do you need something to investigate ?

Regards

JR
  

plantage_flowchart.png ( 197 KB | 48 Downloads )
plantage_flowchart.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: Application crashes when using deleteitem function on a link
Reply #1 - Dec 13th, 2022 at 11:10am
Print Post  
Hi,

We can't afford to support decades-old version and won't be investigating this. Check if any of these old threads helps -

https://mindfusion.eu/Forum/YaBB.pl?num=1247661566
https://mindfusion.eu/Forum/YaBB.pl?num=1184839396

If you delete items from event handler such as BoxModified or ArrowModified, it might be interacting badly with flowchart's internal loop over the modified dragged items. Try only collecting items to delete from your event handler, and move the actual deletion code to a later event (e.g. MouseUp) or a timer.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Re: Application crashes when using deleteitem function on a link
Reply #2 - Dec 13th, 2022 at 11:47am
Print Post  
Indeed, the delete was done in the selectionmoved event. I just posted the removal in a later function and it works.

Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint