Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DoDragDrop FatalExecutionEngineError (Read 2803 times)
CW
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 4
Joined: Feb 16th, 2023
DoDragDrop FatalExecutionEngineError
Feb 16th, 2023 at 7:27am
Print Post  
When I use the Flowcharter Example,i get the error on the DoDragDrop . When use LogicModel example ,it's happend too.
  

e__d__e__z___20230216152620.png ( 83 KB | 131 Downloads )
e__d__e__z___20230216152620.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: DoDragDrop FatalExecutionEngineError
Reply #1 - Feb 16th, 2023 at 10:44am
Print Post  
On what .NET and Windows versions are you seeing that? Does Control.DoDragDrop work if you call it with strings or other data objects?

Regards,
Slavcho
MindFusion
  
Back to top
 
IP Logged
 
CW
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 4
Joined: Feb 16th, 2023
Re: DoDragDrop FatalExecutionEngineError
Reply #2 - Feb 16th, 2023 at 10:55am
Print Post  
net framework 4.7.2 And windows 11.
This problem not appear every times. sometimes, it happends.
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: DoDragDrop FatalExecutionEngineError
Reply #3 - Feb 16th, 2023 at 11:00am
Print Post  
Please enable 'stop when exceptions thrown' in debug settings and post the exception stack trace. Apparently FatalExecutionError can be caused by third party applications hooking into Windows clipboard / data-transfer operations, e.g. https://github.com/dotnet/wpf/issues/4189

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: DoDragDrop FatalExecutionEngineError
Reply #4 - Feb 16th, 2023 at 11:03am
Print Post  
e.g. in linked post that's caused by a CoSoSys Endpoint Protector security software.
  
Back to top
 
IP Logged
 
CW
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 4
Joined: Feb 16th, 2023
Re: DoDragDrop FatalExecutionEngineError
Reply #5 - Feb 16th, 2023 at 11:43am
Print Post  
Is this stack info?
  

Snipaste_2023-02-16_19-42-06.png ( 81 KB | 133 Downloads )
Snipaste_2023-02-16_19-42-06.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: DoDragDrop FatalExecutionEngineError
Reply #6 - Feb 16th, 2023 at 3:32pm
Print Post  
It is, but seems the exception is happening in external non-dotnet code, so try disabling third-party applications that might be hooking into data transfers (like clipboard monitor tools) to verify if not caused by one. You could try experimenting calling DoDragDrop with standard values (e.g. text strings) vs non-standard ones (like .NET objects). If strings work, you could encode the dragged list item's information as a string and pass that to DoDragDrop.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint