Hello,
I have found that stackoverflow code of @David Heffernan
https://stackoverflow.com/questions/4354071/how-can-i-allow-a-form-to-accept-file-dropping-without-handling-windows-messages
Attached is a project where I put it all together for my use case. However, it seems to leak some memory. I do not know why but TForm2.DestroyWnd seems not executed at all.
I simply run and close the application without doing anything. Below dialog is my leak report message
Any help is appreciated.
Thanks & regards,
Ertan
DragDrop.7z