http://bugs.winehq.org/show_bug.cgi?id=3332
Summary: Explore Folder using ShellExecute fails Product: Wine Version: 20050830 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: craig@nch.com.au
We have a C++ application that uses ShellExecute to browse a folder contents.
Using this syntax fails under Wine (works fine under Windows 2000/XP - opens Windows Explorer for the folder). We use the form ShellExecute(handle, NULL, "path_to_folder", NULL, NULL, SW_SHOWNORMAL);
The documentation for ShellExecute notes
Windows 95: You can use ShellExecute to open or explore a Windows 95 folder. To open a folder, use either of the following calls:
ShellExecute(handle, NULL, "path_to_folder", NULL, NULL, SW_SHOWNORMAL);
or
ShellExecute(handle, "open", "path_to_folder", NULL, NULL, SW_SHOWNORMAL);
To explore a folder, use the following call:
ShellExecute(handle, "explore", "path_to_folder", NULL, NULL, SW_SHOWNORMAL);
If lpOperation is NULL, the function opens the file specified by lpFile. If lpOperation is "open" or "explore", the function will force a open window or explorer.