The-Drag-and-Drop-Component-Suite-for-Delphi
The-Drag-and-Drop-Component-Suite-for-Delphi copied to clipboard
copy / paste of outlook attachment / or from file explorer not working
Hello,
using the demo VirtualFile I cannot use the copy/paste operation from attachment neither from the windows file explorer. The filename is ok but the content is always empty. I've tried on two different computers.
No issue using the drag and drop but I unfortunately really need the copy/paste.
Could you help me to solve this issue ?
I use Windows 10 x64, Outlook 2019 32bits, VirtualFile 32bits, Delphi 10.3.3.
Thank you for your help.
David
Copy works for me. Paste will not work this way because the contents of the file are not on the clipboard when copied with Windows Explorer. You can check this with every clipboard explorer.
Effectively, you are right concerning the file explorer.
But it should work from outlook.
If I check with a clipboard explorer as suggested I see that there is data corresponding to size of the file copied.
The data seems to be in "FileContents" with the format 0xc072 (only reporting what the tool says :P ) ()
I can also view in OLEMode that the file content is a ISTREAM. (