Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows.Forms.Control.DoDragDrop crashes with ComWrappers #51

Open
jaedan opened this issue Dec 30, 2022 · 0 comments
Open

Windows.Forms.Control.DoDragDrop crashes with ComWrappers #51

jaedan opened this issue Dec 30, 2022 · 0 comments

Comments

@jaedan
Copy link

jaedan commented Dec 30, 2022

Calling Control.DoDragDrop crashes when it calls into Ole32.DoDragDrop with this call stack:

System.NotImplementedException
  HResult=0x80004001
  Message=The method or operation is not implemented.
  Source=WinFormsComInterop
  StackTrace:
   at WinFormsComInterop.WinFormsComWrappers.ComputeVtables(Object obj, CreateComInterfaceFlags flags, Int32& count)
   at System.StubHelpers.InterfaceMarshaler.ConvertToNative(Object objSrc, IntPtr itfMT, IntPtr classMT, Int32 flags)
   at Interop.Ole32.DoDragDrop(IDataObject pDataObj, IDropSource pDropSource, DROPEFFECT dwOKEffects, DROPEFFECT& pdwEffect)
   at System.Windows.Forms.Control.DoDragDrop(Object data, DragDropEffects allowedEffects, Bitmap dragImage, Point cursorOffset, Boolean useDefaultDragImage) in /_/src/System.Windows.Forms/src/System/Windows/Forms/Control.cs:line 5412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant