I used to execute shell operations like copy, paste or delete on files and folders using IContextMenu.InvokeCommand() in my application for years. Usually these operations were executed asynchronously, but on Windows 7 InvokeCommand() is blocking my application
while the operation is executed. I verified that the same executebale behaves differently on Windows XP, here the Windows Shell seems to spin off a seperate thread for the operation. Adding CMIC_MASK_ASYNCOK to CMINVOKECOMMANDINFO.fMask does not make any difference.
Does anybody know a trick how to get back the old async behavior of Windows XP also on Windows 7?