I've been troubleshooting this stuff for a long time, and I almost give up. I'm using two days old svn version of fpc and lazarus, plus tonight's svn version of geckoport and webdesign package. I'm using xulrunner version 1.9.2.13 and the whole folder is put in the directory where lazarus.exe exists.
Compilation goes fine, so I try SampleApps. Compilation OK, binary moved to lazarus folder. At first, ChromeWin gives "cannot get the Service Manager" and GBrowser gives "cannot get the Component Manager". So, I recheck, re-register xulrunner with --register-global, SetExceptionMask (which then I rollback because it works without) and retry. OK, both apps are working fine now.
Next, I try HelloWorld webdesign example and... "cannot get the Service Manager" comes again. Hey, has something goes wrong? I retry both previously working SampleApps and they're still working! I wonder why webdesign previewer failed but the SampleApps don't. Please tell me how to fix it.