I have created an application which can open a file with extension abc. If i execute my application and drag a file with abc extension and drop it on my application window then the file is open in my application. For this I have called EnableShellOpen()RegisterShellFileTypes()and DragAcceptFiles() function in InitInstance() function. But when I drag the file with abc extension and drop it on the exe file of my application then my application crashed.
If any body have any idea how to solve this problem then please reply.