lovely0493 / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
GNU Lesser General Public License v3.0
1 stars 0 forks source link

COMException #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using VS2010
2. Run assembly "OpenWebKitSharp Example"
3. Show COMException: Failure to obtain a class factory for component with COM 
CLSID {D6BCA079-F61C-4E1E-B453-32A0477D02E3} as a result of the following 
error: 800736b1.
Exeption in line: webView = new WebViewClass();

OS Windows 7

Try changed .NET 4.0 in Properties assembly: OpenWebKitSharp, OpenWebKitSharp 
Example. Rebuild solution, show errors:
Interop type 'WebKit.Interop.WebViewClass' cannot be embedded. Use the 
applicable interface instead.
and other errors

Original issue reported on code.google.com by ivan_...@list.ru on 13 Nov 2011 at 6:37

GoogleCodeExporter commented 8 years ago
Have you build the solution before you tried to run the example? 
OpenWebKitSharp needs all webkit files inside the directory where the exe is 
and with building the solution the WebKit engine is automatically copied at the 
debug folder.

Original comment by tsumalis96@gmail.com on 14 Nov 2011 at 1:38

GoogleCodeExporter commented 8 years ago
I tried to first rebuild the project (pre-re-extract the latest version), but 
the same error with the COM object.
What ideas?Yes? 

Original comment by ivan_...@list.ru on 14 Nov 2011 at 5:37

GoogleCodeExporter commented 8 years ago
The only thing I can imagine is not having C++ 2005 Redistributable installed 
on your machine. Try checking if it is installed. Oherwise download links are 
available in the 2nd step of building WebKit in Windows (all apart from Visual 
C++ 2005 Express): http://www.webkit.org/building/tools.html

Original comment by tsumalis96@gmail.com on 15 Nov 2011 at 4:17

GoogleCodeExporter commented 8 years ago
I tried installation C++ Redistributable, but not work. Screenshot: 
http://s2.ipicture.ru/uploads/20111117/6FHUCpQM.jpg .
Was it only I have this problem?

Original comment by ivan_...@list.ru on 17 Nov 2011 at 5:29

Attachments:

GoogleCodeExporter commented 8 years ago
Try going to the solution's folder at the Core folder and select and copy ALL 
the files that you can find in there to the WebKit folder of the solution and 
try running the example project again.

Original comment by tsumalis96@gmail.com on 17 Nov 2011 at 6:30

GoogleCodeExporter commented 8 years ago
Copy all files from folder to folder Core WebKit, but the same error.
In an attachment file error at startup (OpenWebKitSharp Test.exe) and of the 
folder WebKit wondering how you run this program from the archive (Archive 
large, so filled in sharing). Note that the compilation is successful.
http://ifolder.ru/27025016

Original comment by ivan_...@list.ru on 18 Nov 2011 at 4:35

Attachments:

GoogleCodeExporter commented 8 years ago
I found out that this: 
http://www.microsoft.com/downloads/details.aspx?familyid=2051a0c1-c9b5-4b0a-a8f5
-770a549fd78c&displaylang=en
instead of C++ 2005 is actually needed by WebKit to run in a .NET environment. 
Try downloading the above. I am now installing .net framework 4 on my pc and 
will test your build after that.

Original comment by tsumalis96@gmail.com on 18 Nov 2011 at 4:10

GoogleCodeExporter commented 8 years ago
I tested your build and it is working great for me. Try installing the above 
and tell me if you fixed your problem.

Original comment by tsumalis96@gmail.com on 19 Nov 2011 at 11:13

GoogleCodeExporter commented 8 years ago
Hi,

Did you got your webkit sharp worked ? I have the same problem on my xp32 with 
visual studio ultimate. I've tried C++ 2005/2008/2010 nothing changing.  
Screenshot is attached.

Original comment by victor.b...@gmail.com on 9 Dec 2011 at 4:24

Attachments:

GoogleCodeExporter commented 8 years ago
WTF, I've got it working by using Microsoft Visual C++ 2005 Service Pack 1 
Redistributable Package MFC Security Update. I've tried following installers 
before:
1. Microsoft Visual C++ 2005 Redistributable Package (x86)
2. Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package ATL 
Security Update
3. Microsoft Visual C++ 2010 Redistributable Package (x86)

Original comment by victor.b...@gmail.com on 9 Dec 2011 at 4:31

GoogleCodeExporter commented 8 years ago
That is needed for WebKit to run.

Original comment by tsumalis96@gmail.com on 9 Dec 2011 at 4:42