Discussion:
Drop on an app run as admin
Jean-Luc Arnaud
2018-06-11 10:46:40 UTC
Permalink
Hi all,

When my app is run as Admin (that is, with elevated privileges) or
debugged in the IDE or in Remote Debugger Desktop themselves run as
admin, no drop is no longer available.

I tried MBS class WindowsDropTargetMBS, unsuccessfully.

Am I wrong somewhere? If not, what's the solution?

TIA
--
Jean-Luc Arnaud
Tim Jones
2018-06-11 21:08:40 UTC
Permalink
If your application is running with elevated privileges, both Windows and Mac OS prevent it from interacting with the normal user's desktop. This means that drag and drove and sometimes even copy and paste are disabled. This is why your app should always run as the user and your helpers should run with elevated permissions.

Tim
--
Tim Jones ***@tolisgroup.com
President/CTO http://www.tolisgroup.com
TOLIS Group, Inc.
480-505-0488 x227 480-505-0492 (fax)

BRU ... Because it's the RESTORE that matters
Post by Jean-Luc Arnaud
Hi all,
When my app is run as Admin (that is, with elevated privileges) or debugged in the IDE or in Remote Debugger Desktop themselves run as admin, no drop is no longer available.
I tried MBS class WindowsDropTargetMBS, unsuccessfully.
Am I wrong somewhere? If not, what's the solution?
TIA
--
Jean-Luc Arnaud
Jean-Luc Arnaud
2018-06-12 08:30:24 UTC
Permalink
Thanks for your reply and your explanation, Tim.

So, no workaround except using helpers?

Jean-Luc Arnaud
Post by Tim Jones
If your application is running with elevated privileges, both Windows
and Mac OS prevent it from interacting with the normal user's desktop.
 This means that drag and drove and sometimes even copy and paste are
disabled.  This is why your app should always run as the user and your
helpers should run with elevated permissions.
Tim
--
President/CTOhttp://www.tolisgroup.com
TOLIS Group, Inc.
480-505-0488 x227480-505-0492 (fax)
*/BRU ... Because it's the RESTORE that matters/*
On Jun 11, 2018, at 3:46 AM, Jean-Luc Arnaud
Hi all,
When my app is run as Admin (that is, with elevated privileges) or
debugged in the IDE or in Remote Debugger Desktop themselves run as
admin, no drop is no longer available.
I tried MBS class WindowsDropTargetMBS, unsuccessfully.
Am I wrong somewhere? If not, what's the solution?
TIA
--
Jean-Luc Arnaud
Continue reading on narkive:
Loading...