none
Question of a DragDrop function error using GongSolution Library RRS feed

  • Question

  • I'm developing WPF application.

    And I implemented drag&drop function with GongSolution Library.

    It works well in most case, but sometimes when I drag a object the program is dead because of below exception.

    I tried to debugging, but it didn't reproduce often.

    Source: Application.Current.DispatcherUnhandledException System.Runtime.InteropServices.COMException (0x80004005): 8070000c 오류가 발생하여 작업을 완료할 수 없습니다.
       위치: MS.Win32.UnsafeNativeMethods.DoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
       위치: System.Windows.OleServicesContext.OleDoDragDrop(IDataObject dataObject, IOleDropSource dropSource, Int32 allowedEffects, Int32[] finalEffect)
       위치: System.Windows.DragDrop.OleDoDragDrop(DependencyObject dragSource, DataObject dataObject, DragDropEffects allowedEffects)
       위치: System.Windows.DragDrop.DoDragDrop(DependencyObject dragSource, Object data, DragDropEffects allowedEffects)
       위치: GongSolutions.Wpf.DragDrop.DragDrop.DragSource_PreviewMouseMove(Object sender, MouseEventArgs e)
       위치: System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       위치: System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       위치: System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
       위치: System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       위치: System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       위치: System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
       위치: System.Windows.Input.InputManager.ProcessStagingArea()
       위치: System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
       위치: System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
       위치: System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
       위치: System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       위치: System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       위치: MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       위치: MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       위치: System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       위치: System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    Thursday, January 16, 2020 8:07 AM

All replies

  • Hi,

    Your issue is more related about third party library.The  forum does not support it.

    Best Regards,

    Alex


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, January 17, 2020 5:17 AM