Page 1 of 1

Drag-and-Drop from FC x32 to x64 Programs

Posted: 31.08.2018, 15:22
by wwwKris
Drag-and-drop from FreeCommander x32 to x64 programs doesn't work. FC x32 to other x32 programs works fine however. A video of this behaviour can be found here: FreeCommander Drag-and-Drop. It shows drag-and-drop from FC x32 working for x32 apps but not x64 apps.

After a bit of Googling, it appears that the problem exists for other programs as well and only impacts Windows 8 and higher. The pattern for the behaviour is apparently:
32-bit -> 32-bit : success
64-bit -> 64-bit : success
64-bit -> 32-bit : success
32-bit -> 64-bit : fail

The fix is apparently to implement the "IDropTarget interface." If this is indeed the fix, I'd like to make a feature request to implement the iDropTarget interface so that drag-and-drop works properly.

Re: Drag-and-Drop from FC x32 to x64 Programs

Posted: 01.09.2018, 19:20
by Marek
In your video example FreeCommander is not the "target" of the operation but the "source". The source must implement IDropSource interface. The target program must implement IDropTarget.
FreeCommander implement both IDropSource and IDropTarget.

Re: Drag-and-Drop from FC x32 to x64 Programs

Posted: 02.09.2018, 12:45
by wwwKris
Thanks Marek. Is there another reason why drag-and-drop doesn't work to 64 bit apps? I test a couple of others and got the same behaviour - 32 bit apps worked but 64 bit apps didn't.

SumatraPDF x32 --> works
SumatraPDF x64 --> doesn't work
Acrobat x32 --> works
NitroPDF x64 --> doesn't works

A video of SumatraPDF is available here: https://www.youtube.com/watch?v=Y5S8wERxeEA

Re: Drag-and-Drop from FC x32 to x64 Programs

Posted: 02.09.2018, 13:34
by Marek
What about Windows Explorer?
Drag&drop does not work if you start programs with not same users/rights.

Re: Drag-and-Drop from FC x32 to x64 Programs

Posted: 02.09.2018, 19:12
by wwwKris
Drag-and-drop from Windows Explorer works fine - I'm able to drag-and-drop to all the programs I mentioned regardless of whether they're x32 or x64. The programs are all also running within the same account (and with the same permissions) so it's not a user/rights issue.

Re: Drag-and-Drop from FC x32 to x64 Programs

Posted: 06.09.2018, 13:17
by wwwKris
Thanks again for all the replies Marek. Wondering if you have any further thoughts on this? I'm happy to do further tests if it will help - just let me know what I can do.

Re: Drag-and-Drop from FC x32 to x64 Programs

Posted: 07.09.2018, 17:49
by Marek
I have tried Sumatra 64 bit with FC 32 bit and some other 32 bit file manager. None of the 32 bit file managers works with Sumatra.
But you can try Notepad3 64 bit https://www.rizonesoft.com/downloads/notepad3/ and you can see - it works with 32 bit file managers.

Re: Drag-and-Drop from FC x32 to x64 Programs

Posted: 07.09.2018, 18:41
by wwwKris
Interesting, thanks Marek. Guess I'll just have to live with the limitation for now - seems to be an issue with all 32 bit apps on Windows 10 x64.

FYI, when I drag a file from FC x32 onto Notepad3, I get a message saying: "No valid filename retrieved. If dropping from a 32-bit application, please drag and drop to Notepad3's tool bar." When I drag onto the tool bar, it opens fine. Notepad3 must have implemented something in the tool bar to work around the drag-and-drop issue.