http://bugs.winehq.org/show_bug.cgi?id=24864
Summary: Windows Double Explorer complains "unable to find an entry point named 'IUnknown_SetSite' in DLL 'SHLWAPI.DLL'" Product: Wine Version: 1.3.5 Platform: x86-64 URL: http://wde.codeplex.com/ OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: shlwapi AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com
Created an attachment (id=31462) --> (http://bugs.winehq.org/attachment.cgi?id=31462) Terminal output
Install dotnet20 with winetricks before running. On startup, the app pops up an error dialog saying that an unhandled exception occurred. Clicking the details buttons reveals:
System.EntryPointNotFoundException: Unable to find an entry point named 'IUnknown_SetSite' in DLL 'SHLWAPI.DLL'.
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #1 from A Wine user RandomAccountName@mail.com 2010-10-23 11:03:09 CDT --- Created an attachment (id=31463) --> (http://bugs.winehq.org/attachment.cgi?id=31463) All text from the error dialog's details view
http://bugs.winehq.org/show_bug.cgi?id=24864
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download, source
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com 2010-10-23 11:29:51 CDT --- What is your reported Windows version? It's also interesting to try it on Windows (XP for example), probably application detects version not from reported version value though.
Also please attach +relay log from startup to message box.
P.S. there's a simple fix for that.
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #3 from A Wine user RandomAccountName@mail.com 2010-10-23 12:42:12 CDT --- Created an attachment (id=31465) --> (http://bugs.winehq.org/attachment.cgi?id=31465) +relay log (66.5MB)
I had my Windows version set to XP most of the time. I tried once with it set to Windows 7, but nothing was different. On Windows XP, the app just exits silently for me. The homepage says it requires Windows 7, which I can't test on since I don't have it.
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2010-10-23 13:02:34 CDT --- Interesting:
--- 0022:Call KERNEL32.LoadLibraryExW(001ea438 L"Z:\media\PROGRAMS\SHLWAPI.DLL",00000000,00000008) ret=79e862c8 0022:Ret KERNEL32.LoadLibraryExW() retval=7ed80000 ret=79e862c8 ... 0022:Call KERNEL32.GetProcAddress(7ed80000,038358e4 "IUnknown_SetSite") ret=79e84c2d 0022:Ret KERNEL32.GetProcAddress() retval=00000000 ret=79e84c2d 0022:Call KERNEL32.GetProcAddress(7ed80000,0032dd11 "IUnknown_SetSiteW") ret=79f19b93 0022:Ret KERNEL32.GetProcAddress() retval=00000000 ret=79f19b93 ---
What does this path mean on your setup?
Anyway, a fix for builtin module is simple, I'll attach it shortly.
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2010-10-23 13:21:33 CDT --- Created an attachment (id=31466) --> (http://bugs.winehq.org/attachment.cgi?id=31466) patch
Try this patch.
Actually LoadLibraryEx is used with LOAD_WITH_ALTERED_SEARCH_PATH, so probably an application supplied shlwapi should be used in this case, so to possible cases:
- shlwapi doesn't exist in specified path and system one should be used; - it exists but doesn't provide and export.
We need to test this application on Windows 7 to be sure (I don't have a Win7 set up too).
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #6 from A Wine user RandomAccountName@mail.com 2010-10-23 13:37:44 CDT --- (In reply to comment #5)
Try this patch.
Seems to work; there's still an exception there, but it's complaining about something else now (method or operation not supported).
Regarding /media/PROGRAMS, that's where I'm running this from since it's a portable application. The DLLs included with the program are also in that directory, but it didn't include a copy of shlwapi.
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2010-10-23 13:42:16 CDT --- Ok, what is a next problem? Attach new backtrace if any out some output showing this new exception.
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #8 from A Wine user RandomAccountName@mail.com 2010-10-23 13:56:06 CDT --- Created an attachment (id=31467) --> (http://bugs.winehq.org/attachment.cgi?id=31467) Terminal output with the patch
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #9 from A Wine user RandomAccountName@mail.com 2010-10-23 13:56:52 CDT --- Created an attachment (id=31468) --> (http://bugs.winehq.org/attachment.cgi?id=31468) .NET backtrace with the patch
System.NotImplementedException: The method or operation is not implemented. at Microsoft.WindowsAPICodePack.Controls.ExplorerBrowserClass.SetPropertyBag(String pszPropertyBag)
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com 2010-10-23 14:06:58 CDT --- It's about this one I guess:
--- fixme:shell:IExplorerBrowser_fnSetPropertyBag stub, 0x1ca970 (L"Microsoft.WindowsAPICodePack.Controls.WindowsForms.ExplorerBrowser") ---
This deserves a separate report, please file new bug for that (shell32 module).
http://bugs.winehq.org/show_bug.cgi?id=24864
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |24866
http://bugs.winehq.org/show_bug.cgi?id=24864
--- Comment #11 from A Wine user RandomAccountName@mail.com 2010-10-23 14:24:39 CDT --- (In reply to comment #10)
This deserves a separate report, please file new bug for that (shell32 module).
Done, it's bug 24866.
http://bugs.winehq.org/show_bug.cgi?id=24864
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #31467|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=24864
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #31468|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=24864
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #12 from Nikolay Sivov bunglehead@gmail.com 2010-10-25 11:02:04 CDT --- Fixed by 88136e689738e64be397352fe563f4cf8f5ed360.
http://bugs.winehq.org/show_bug.cgi?id=24864
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2010-10-29 12:59:10 CDT --- Closing bugs fixed in 1.3.6.
http://bugs.winehq.org/show_bug.cgi?id=24864
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |88136e689738e64be397352fe56 | |3f4cf8f5ed360