Having an issue with DragItem.AddItem and DragPicture

I reworked the code so it only added a single drag item, and the drag item just contained a list of paths (rather than actual folderItem objects). This works fine for my use (which is mostly drag & drop internal to my app) but is not a general solution. I’m currently stuck on Xojo 2019R1. If you can use 2021, I believe this crashing issue doesn’t exist.

The crash IS in the latest version. It’s even in things we aren’t supposed to mention. Internal drag works fine. But the drag of a list of email attachments is problematic. Haven’t gotten a bug report from users so it’s not super urgent.

Interesting. What happens if you set DragItem — Xojo documentation for each additional dragItem you are adding? Does that help?