ReactOS 0.4.14: Crash after calling DoDragDrop
Moderator: Moderator Team
ReactOS 0.4.14: Crash after calling DoDragDrop
I am in the process of programming a replacement for the incompletely developed program winefile, which is included in Wine and ReactOS (c:\reactos\system32\winefile.exe. I use the C programming language (C 89 variant) with Win32 API and I make sure to develop it in a way that it is compilable with mingw as well as with mingw-w64 with (almost) no compiler warnings. I was successful at this until I started programming drag and drop. Program with drag and drop support works with Windows 10 and Wine 6.03, but when I run it under ReactOs 0.4.14 (Virtualbox) and test drag and drop with it and my program calls the win32 API function DoDragDrop, then ReactOS crashes (ignores all mouse movements and keystrokes), at the latest shortly afterwards when I close my program again. It seems to be extremely difficult to call DoDragDrop(...) in C without crashing ReactOS 0.4.14 (the crash can also happen a minute later after DoDragDrop(...) has been called. I have also tried to program IDataObject, IDropSource and IDropTarget with very little code and functionality in my drag and drop module to see if it works better then, but this only delays the crash of ReactOS. Do you have any idea how I could manage to program drag and drop in C in such a way that ReactOs does not crash?
Re: ReactOS 0.4.14: Crash after calling DoDragDrop
I have just solved the problem by fixing a memory allocation bug (too less bytes allocated).
-
- Posts: 1
- Joined: Tue Sep 24, 2024 11:49 am
- Contact:
Re: ReactOS 0.4.14: Crash after calling DoDragDrop
How can you systematically isolate the problem to determine whether it lies within your implementation of the IDataObject, IDropSource, and IDropTarget interfaces, or if it is related to ReactOS's handling of the Win32 API functions?
Re: ReactOS 0.4.14: Crash after calling DoDragDrop
Join the Mattermost chat using your login details from this forum, if your query is related to ReactOS development then post in the development channel. If it is ReactOS-related then post onto Town Square, if not strictly related to ReactOS, then post on Off Topic.
I'm sure you will receive some interest if you choose to join the ReactOS community on Mattermost. https://chat.reactos.org/landing#/reactos/
I'm sure you will receive some interest if you choose to join the ReactOS community on Mattermost. https://chat.reactos.org/landing#/reactos/
Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.
-
- Posts: 1
- Joined: Mon Mar 17, 2025 8:53 am
- Location: https://basketballstars-game.io
Re: ReactOS 0.4.14: Crash after calling DoDragDrop
How did you track down the memory allocation bug? I've been struggling with similar issues in ReactOS, and any tips on debugging crashes like this would be super helpful!
Who is online
Users browsing this forum: No registered users and 3 guests