landrix / The-Drag-and-Drop-Component-Suite-for-Delphi

MIT License
161 stars 57 forks source link

File dragged from Outlook Task have no filename #31

Closed philipp-H closed 5 years ago

philipp-H commented 5 years ago

In TFileContentsStreamClipboardFormat.GetData if (FGD.GetData(DataObject)) then seems to fail here. FGD seems to have a valid format or multiple in my case.

I compiled ComboTargetDemo with Delphi 2007 and tested it on Windows 7 with Outlook 2013 / Windows 10 and Outlook 2017.

Example

philipp-H commented 5 years ago

I'm still looking for a solution.

philipp-H commented 5 years ago

I found a solution for this problem. Dragging attachments from Outlook with filename are working when using TVirtualFileStreamDataFormat shown in VirtualFileStream Demo.