Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy / paste of outlook attachment / or from file explorer not working #49

Open
dbargaud opened this issue Mar 9, 2021 · 2 comments
Open

Comments

@dbargaud
Copy link

dbargaud commented Mar 9, 2021

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

@dbargaud dbargaud changed the title copy / paste of outlook attachment not working copy / paste of outlook attachment / or from file explorer not working Mar 9, 2021
@landrix
Copy link
Owner

landrix commented Mar 10, 2021

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.

@dbargaud
Copy link
Author

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 ) (Clipboard)
I can also view in OLEMode that the file content is a ISTREAM. (Clipboard OLE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants