From owner-freebsd-emulation@FreeBSD.ORG Mon Apr 28 13:54:32 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B4491065670 for ; Mon, 28 Apr 2008 13:54:32 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from cavuit01.kulnet.kuleuven.be (cavuit01.kulnet.kuleuven.be [134.58.240.43]) by mx1.freebsd.org (Postfix) with ESMTP id EAD4B8FC0C for ; Mon, 28 Apr 2008 13:54:31 +0000 (UTC) (envelope-from tijl@ulyssis.org) Received: from smtps01.kuleuven.be (smtpshost01.kulnet.kuleuven.be [134.58.240.74]) by cavuit01.kulnet.kuleuven.be (Postfix) with ESMTP id 25E9D7B8084; Mon, 28 Apr 2008 15:54:22 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.16.222]) by smtps01.kuleuven.be (Postfix) with ESMTP id B751531E702; Mon, 28 Apr 2008 15:54:21 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.14.2/8.14.2) with ESMTP id m3SDsK3H018997; Mon, 28 Apr 2008 15:54:21 +0200 (CEST) (envelope-from tijl@ulyssis.org) X-Kuleuven: This mail passed the K.U.Leuven mailcluster From: Tijl Coosemans To: Volker Date: Mon, 28 Apr 2008 15:54:18 +0200 User-Agent: KMail/1.9.7 References: <4814D1BC.9070004@vwsoft.com> In-Reply-To: <4814D1BC.9070004@vwsoft.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_LcdFI8IYIHMTT7o" Message-Id: <200804281554.19842.tijl@ulyssis.org> X-KULeuven-Information: Katholieke Universiteit Leuven X-KULeuven-Scanned: Found to be clean X-Spam-Status: not spam, SpamAssassin (not cached, score=-50, required 5, autolearn=disabled, KUL_SMTPS -50.00) X-KULeuven-Envelope-From: tijl@ulyssis.org Cc: freebsd-emulation@freebsd.org Subject: Re: trouble using latest wine 0.9.60 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2008 13:54:32 -0000 --Boundary-00=_LcdFI8IYIHMTT7o Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sunday 27 April 2008 21:19:24 Volker wrote: > wine was doing it's job fine for me with running StarMoney up until the > latest version (now using wine-0.9.60,1). > > When running StarMoney (5.0) under Wine, I'm now getting this: ... > I've downgraded wine to 0.9.59 and everything's fine again. > > Suggestions for solving this? Can you try the attached patch? cd /usr/ports/emulators/wine/work/wine-0.9.60 patch -p1 < /path/to/patch Then build and install. If you still have a 0.9.60 build from before, you can just run gmake in dlls/hhctrl.ocx/ and then reinstall. --Boundary-00=_LcdFI8IYIHMTT7o Content-Type: text/plain; charset="iso-8859-1"; name="patch-wine-hhctrl" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-wine-hhctrl" diff --git a/dlls/hhctrl.ocx/hhctrl.c b/dlls/hhctrl.ocx/hhctrl.c index c0054de..96227bd 100644 --- a/dlls/hhctrl.ocx/hhctrl.c +++ b/dlls/hhctrl.ocx/hhctrl.c @@ -123,6 +123,8 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat } info = CreateHelpViewer(filename); + if(!info) + return NULL; if (info) { --Boundary-00=_LcdFI8IYIHMTT7o--