So, when I use atom "FileNameW" instead of "FileName" and use UTF-16 string instead UTF-8 I can paste file on Windows to other applications... but now other applications retrieve my file as "fragment.shs", not with original name!Another thing: I use IDataObject Viewer and see - when I copy file to clipboard from any file manager, member "tymed" of the structure FORMATETC is HGLOBAL. When I my code copies file (as you can see above), member "tymed" of the structure FORMATETC is HGLOBAL | ISTREAM. Why? Why and how GTK does it? I even have seen all GTK source code tree, but I haven't found code with ISTREAM, only with HGLOBAL. So... what's wrong with my code? Please help me :(

Who is online

Users browsing this forum: Google [Bot] and 6 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum