Hello,
I have an application that proceed file operations in background with calls to SHFileOperation. Some operation can take long thus the user may close the application while still some copy windows are open in the background. In this situation, the application crash because the drag'n'drop process which copy the files through SHFileOperation looks some handle of the (closed) application and makes an acces violation.
I can set some mutex so the application won't exit before the file operations are done but that's not what I want.
Is it possible to attach the copy operation to another process completely indepedent ?
I have an application that proceed file operations in background with calls to SHFileOperation. Some operation can take long thus the user may close the application while still some copy windows are open in the background. In this situation, the application crash because the drag'n'drop process which copy the files through SHFileOperation looks some handle of the (closed) application and makes an acces violation.
I can set some mutex so the application won't exit before the file operations are done but that's not what I want.
Is it possible to attach the copy operation to another process completely indepedent ?