WINEHQ - wine_gecko won't init - HTML Rendering disabled

3

I'm currently trying to get a windows compiled program to work through Wine to run on Linux and MacOSX.

When I run the program through wine, it prompts me to install Gecko which I do. Later on in the program, it attempts to use MSHTML to render HTML but I get these error messages on my console instead.

err:mshtml:init_xpcom NS_InitXPCOM2 failed: 80004005 err:mshtml:HTMLDocument_Create Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE fixme:ole:CoCreateInstance no instance created for interface {00000000-0000-0000-c000-000000000046} of class {25336920-03f9-11cf-8fd0-00aa00686f13}, hres is 0x80040111

I'm using Wine 1.1.34 and a similar bug was supposedly fixed in 1.1.33
http://bugs.winehq.org/show_bug.cgi?id=12578

I've been at this all afternoon, is there anything I'm missing?

Thanks, Nick

linux
wine
asked on Super User May 28, 2010 by Nick

4 Answers

0

So if you type "wine iexplore.exe" does it open up the wine version of internet explorer (gecko)?

You said this program was "windows compiled". Are you the one that compiled it? Did you use visual studio?

If this is a .NET application, you'll need to use mono to run it.

http://www.mono-project.com/Main_Page

answered on Super User Jun 3, 2010 by James T
0

Try winetricks.

Follow these steps:

wget http://www.kegel.com/wine/winetricks
chmod a+x winetricks
env WINEPREFIX=yourwineprefix ./winetricks gecko

winetricks is my favorite wine tool and allows you to fix large array of problems.

answered on Super User Jun 7, 2010 by Jarvin
0

Even with winetricks wine doesn't support com so creating the com component will cause this error. There is no fix.

answered on Super User Jun 8, 2010 by Daisetsu
0

I was getting a very similar issue because I was using 64-bit Wine and only installed the 64-bit Gecko. It turns out that sometimes you may need both 64-bit and 32-bit Gecko. The error in my case was "01ff:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE".

After installing both 64-bit and 32-bit Gecko, the problem went away and rendering started working.

I used the latest Gecko installers from https://wiki.winehq.org/Gecko and installed them both using msiexec /i <installer>.msi.

answered on Super User Dec 15, 2019 by user1132363

User contributions licensed under CC BY-SA 3.0