Hi, I've encountered this error, tried for half a day, searched the forum but can't find a solution.
1. I'm using Laz 0.9.31, FPC 2.5.1, Windows 7, 64 bit, used fppkg.exe to download Gecko, WebDesign and Embweb package files, compiled and installed them.
2. I've also downloaded Xulrunner folder from:
http://ftp.mozilla.org/pub/mozilla.org/xulrunner/nightly/2010/05/2010-05-17-03-mozilla-1.9.2/xulrunner-1.9.2.5pre.en-US.win32.zip, unzip and extract the XULrunner folder to the same folder as Lazarus.
3. I compiled gbrowser example in Gecko package download, copied the file to XULrunner folder, and it works ok.
4. But when I try to open any of the WebDesign example, e.g. HelloWorld, I get the following error.
"Failed to open Gecko/XULRunner browser-window.
Make sure Gecko/XULRunner is installed. If you are sure you have it installed, check the filename of the XPCOM library in the environment settings. (Environment -> Options -> Webdesign)
I tried to set XPCOM library to "xpcom.dll" and also to the full path, but both doesn't work.
I've also tried copying XULRunner folder all over the place including the example folder but to no avail. What else do I need to do? Thanks.