#Copying a file to clipboard in Windows

4 messages · Page 1 of 1 (latest)

vital prawn
#

I'm trying to use the Windows API to copy a file to clipboard (the file itself, not its contents) and every time I try and paste it, I get told by Discord that it's an invalid format and File Explorer also doesn't accept it.

what am i doing wrong?

code is here

indigo plinthBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

hard needle
vital prawn