locked
Problem with C# .NET Windows Shell Extension and DragQueryFile/IDataObject.GetData RRS feed

  • Question

  • I'm trying to write a Windows shell extension in C# using COM Interop and I'm running into some issues retrieving the list of files which were selected. My understanding is that I'm supposed to use DragQueryFile based on the data I retrieve from calling IDataObject.GetData on the argument passed to Initialize. However, the call to GetData returns a value less than zero indicating an error and I always get 0 as the return value to DragQueryFile. My source code is available at http://www.andrew.cmu.edu/user/jsd1/code.zip. I greatly appreciate any help you can provide!

    Thanks,
    Jeff
    • Moved by nobugz Wednesday, March 18, 2009 12:00 AM not a bcl q (Moved from .NET Base Class Library to Where is the Forum For…?)
    Tuesday, March 17, 2009 10:52 PM

Answers

All replies