Recent

Author Topic: Geckoport - examples problem  (Read 3084 times)

Cliff48

  • Jr. Member
  • **
  • Posts: 51
Geckoport - examples problem
« on: May 27, 2015, 10:41:28 pm »
I installed Geckoport and attempted to use the sample applications.

the sample using Chrome gave the following debugger message
Project GBrowser.exe raised exception Class 'EGeckoError with message:
Cannot get the Service Manager

I assume I have missed something in the install procedure.

Any suggestions would be appreciated.

Thanks in advance
Laz Ver 1.4.0  FPC 2.6.4 SVN 48774
Win 7 Ultimate SP1
Intel I7-2600 CPU @  3.40GHZ 8GB Ram 64bit OS

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Geckoport - examples problem
« Reply #1 on: May 27, 2015, 11:50:49 pm »
Here is a real nice tutorial, how to use the geckoport: http://lazplanet.blogspot.de/2013/10/browser-in-lazarus-with-gecko-pt1.html?m=1
There are two versions of geckoport, version 1 should work.

Afaik nobody is working on geckoport anymore. I use fpCEF for one of my projects but its not so simple to install.
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

Cliff48

  • Jr. Member
  • **
  • Posts: 51
Re: Geckoport - examples problem
« Reply #2 on: May 28, 2015, 03:03:30 am »
TY for your reply.  I have seen that tutorial, but unfortunately it doesnt  help/solve my problem.

I dont necessarily need Gecko, but anything that handles most stuff thats on modern browsers.

I have successfully used the activeX component to run IE on a lazarus Form, but unfortunately it didnt display the streaming video(flash?) that was on a site I visited.  Maybe I need to enable Flash in ActiveX, but I have no idea how to do that.  I also must admit I would much prefer to use Chrome than IE, or SeaMonkey (which I understand uses some Gecko code.

I'll have a look for fpCEF and try that.

Thanks again
Laz Ver 1.4.0  FPC 2.6.4 SVN 48774
Win 7 Ultimate SP1
Intel I7-2600 CPU @  3.40GHZ 8GB Ram 64bit OS

rehanullahafridi

  • Newbie
  • Posts: 4
Re: Geckoport - examples problem
« Reply #3 on: June 30, 2015, 01:32:32 pm »
Hello Cliff. What you are doing should not be done. Any gecko project can't be run directly(through F9). You will have to build it(Shift + F9) and then run the built application (.exe on windows or x-executable on linux).
It is not your problem. I think every gecko app shows this so you will have to build it not run it.

 

TinyPortal © 2005-2018