[Bug 3332] New: Explore Folder using ShellExecute fails

Wine Bugs wine-bugs at winehq.org
Wed Sep 14 21:04:03 CDT 2005


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 at winehq.org
        ReportedBy: craig at 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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list