Fix ShellExecuteEx failed error in Windows 10