[Bug 4937] NASA WorldWind doesn't start.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Aug 8 06:41:54 CDT 2008


--- Comment #6 from Louis Lenders <xerox_xerox2000 at yahoo.co.uk>  2008-08-08 06:41:53 ---
I had a look at a +shdocvw trace and looks like this is the problem:
warn:shdocvw:ClientSite_QueryInterface Unsupported interface

the uuid belongs to interface IOleInPlaceSiteEx

I think that's the problem as the hack below makes the main gui start up fine
for me. The window remains still black, that can be "solved" by using native
oleaut32. Let's see how difficult it is to create some kind of acceptable

diff --git a/dlls/shdocvw/client.c b/dlls/shdocvw/client.c
index 14a7f90..de12e71 100644
--- a/dlls/shdocvw/client.c
+++ b/dlls/shdocvw/client.c
@@ -63,6 +63,10 @@ static HRESULT WINAPI
ClientSite_QueryInterface(IOleClientSite *iface, REFIID ri
     }else if(IsEqualGUID(&IID_IServiceProvider, riid)) {
         TRACE("(%p)->(IID_IServiceProvider %p)\n", This, ppv);
         *ppv = SERVPROV(This);
+    }else if(IsEqualGUID(&IID_IOleInPlaceSiteEx, riid)) {
+        TRACE("(%p)->(IID_IOleInPlaceSiteEx %p)\n", This, ppv);
+        IOleClientSite_AddRef(CLIENTSITE(This));
+        return S_OK;

     if(*ppv) {

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