[Bug 34637] WinLaunch 0.4.6.1 (OSX Style free Launcher) needs IShellDispatch5 (.NET shell32 COM interop XP vs. Vista)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 12 09:00:39 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=34637

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
          Component|-unknown                    |shell32
            Summary|Winlaunch OSX launchpad for |WinLaunch 0.4.6.1 (OSX
                   |windows crashes on start    |Style free Launcher) needs
                   |                            |IShellDispatch5 (.NET
                   |                            |shell32 COM interop XP vs.
                   |                            |Vista)

--- Comment #5 from Anastasius Focht <focht at gmx.net> 2013-11-12 09:00:39 CST ---
Hello folks,

confirming.

Prerequisite: 'winetricks -q dotnet40'

Managed backtrace:

--- snip ---
$ wine ./WinLaunch.exe
...
fixme:shell:ShellDispatch_QueryInterface not implemented for
{c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for
{b196b283-bab4-101a-b69c-00aa00341d07} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for
{00000003-0000-0000-c000-000000000046} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for
{00000144-0000-0000-c000-000000000046} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for
{866738b9-6cf2-4de8-8767-f794ebe74f4e} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for
{866738b9-6cf2-4de8-8767-f794ebe74f4e} (unknown)

Unhandled Exception: System.Windows.Markup.XamlParseException: The invocation
of the constructor on type 'WinLaunch.MainWindow' that matches the specified
binding constraints threw an exception. ---> System.InvalidCastException:
Unable to cast COM object of type 'System.__ComObject' to interface type
'Shell32.Shell'. This operation failed because the QueryInterface call on the
COM component for the interface with IID
'{866738B9-6CF2-4DE8-8767-F794EBE74F4E}' failed due to the following error:
Exception from HRESULT: 0x80004002 (E_NOINTERFACE).
   at WinLaunch.MainWindow..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlReader.RewrapException(Exception e,
IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader,
IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object
rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader,
Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel
accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext
parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream,
ParserContext pc)
   at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean
bSkipJournaledProperties)
   at System.Windows.Application.DoStartup()
   at System.Windows.Application.<.ctor>b__1(Object unused)
...
--- snip ---

The app queries this Vista+ Interface despite WinVer 'Windows XP' setting.

If you search for CLSID '866738b9-6cf2-4de8-8767-f794ebe74f4e' you find many
hits with Windows apps using Shell32 COM object with IShellDispatch5 (Vista+)
vs. IShellDispatch4 (XP).

$ sha1sum WinLaunch.zip 
5d79fb1d160354a04548fc7bba1a78012800c59c  WinLaunch.zip

$ du -sh WinLaunch.zip 
20M    WinLaunch.zip

$ wine --version
wine-1.7.6-136-gde0928a

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list