Re: How determine the Source application of an OLE Drag & Drop?



On Fri, 7 Apr 2006 08:06:20 +0100, "James Brown [MVP]" <not@home> wrote:

In general this it is not possible. Drag+Drop is implemented on top of
COM/RPC and these protocols provide no method to obtain the source of an
operation. If you are trying to detect if it is one of *your* applications
at the source, then simply get it to supply a special clipboard-format (such
as a DWORD which holds the process-id) in the IDataObject so that the target
can check for the existance of this format and then query the
source-application this way.

James

Hi James,

Well, that's not what I wanted to hear but thanks for the answer!

Al Koch
AlKoch@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.



Relevant Pages

  • Re: Unknown App
    ... Did you try with amap to identify protocols and applications? ... Good luck! ... This message and any attachments are intended for the use of the ...
    (Pen-Test)
  • Protocols Blocked
    ... All is fine except for that I had set some policies to allow user-defined ... protocols through. ... THey are now blocked after the upgrade? ... applications that need ports opened and it appears those ports are now ...
    (microsoft.public.isa)

Loading