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

MIT License
161 stars 57 forks source link

tDropFileSource from delphi 32bit application to outlook 64bit #38

Closed MicrotronX closed 4 years ago

MicrotronX commented 5 years ago

Hi, if i use tDropFileSource with

mytDropFileSource.files.add(vpathtoafile); mytDropFileSource.Execute;

i can drop files to desktop but not to Outlook 64bit. Is this a known limitation somehow with 32bit and 64bit apps or is it a bug?

MicrotronX commented 5 years ago

Can be tested with SimpleSourceDemo, Drag&Drop a File to a new E-Mail from Outlook-2019 in 64bit and it will not dropped into the new e-mail ...

landrix commented 4 years ago

It seems to be a outlook bug.

https://social.msdn.microsoft.com/Forums/vstudio/en-US/74a2dd29-7392-4936-b2ff-df149cc8547f/drag-amp-drop-files-from-32bit-winforms-application-to-64bit-outlook?forum=outlookdev

landrix commented 4 years ago

i think, it isn't possible

https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/building-mapi-applications-on-32-bit-and-64-bit-platforms#32-bit-mapi-application-and-64-bit-outlook