Jump to content
  • Advertisement
Sign in to follow this  

Cross-Platform Web Browser Control for Winforms

This topic is 2168 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all,

I am trying to port my program, PatchCraft to Linux and Mac, but Mono doesn't have a WebBrowser control for OSX. The browser control is essential, so I can't remove it, and I'm having massive trouble finding any other working and documented library out there. The control doesn't even have to be capable of much; my pages have no more than text, hyperlinks, and an external stylesheet. The problem lies in the fact that either each library isn't well documented, or it only works for one or two of the three platforms. Ideally, the library I need would build into a single DLL to be shipped with PatchCraft that will wrap runtimes developed for each respective OS.

I've searched long and hard for a solution, but I am beginning to get very confused by it all and would very much appreciate a simple "step-by-step" guide on this. I must stress again that the library I need must work on Windows without Mono, and on both Linux and Mac WITH Mono, and not include 2 GB (exaggeration) worth of redists and natives that I myself must distribute.

On a side note, GeckoFX has failed me by working fine on Windows alone, but producing this exception (produced by custom handler) under Windows Mono:

An unhandled exception has occurred!
Message: xpcom
at (wrapper managed-to-native) Skybound.Gecko.Xpcom:NS_NewNativeLocalFile (Skybound.Gecko.nsACString,bool,object&)
at Skybound.Gecko.Xpcom.Initialize (System.String binDirectory) [0x00000] in <filename unknown>:0
at PatchCraft.Program.Begin (System.String[] args) [0x00000] in <filename unknown>:0

Any ideas?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!