Welcome, Guest
Username: Password: Remember me
Components and Libraries for Web Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

How to use fpCEF3 ? 8 years 4 months ago #9851

  • stivionade
  • stivionade's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Hello everyone,

I would set up Chromium Embedded Framework in an application. Unfortunately, I do not even run the example LCLSimple available for this component.
I tested with the CEF Version 3.2623 32-bit and 64 bit but the CEF Version 3.2526 32-bit and 64 bit. But I still have the same error: Runtime error 210

This is a week that I want a solution on the internet but in vain. I wonder if someone has already managed to use this component in order to help me

Thank you.

Os : Windows 7 64 bit
version CT : 5.80

Please Log in or Create an account to join the conversation.

How to use fpCEF3 ? 7 years 9 months ago #10582

  • taqtaq
  • taqtaq's Avatar
  • Visitor
  • Visitor
I have had the same problem.
This page lazplanet.blogspot.com.ar/2015/09/create...3-minutes-using.html helped me to use CEF3

I tried with PL_CEF of codetyphon but unfortunately I can not get it to work.

Please Log in or Create an account to join the conversation.

How to use fpCEF3 ? 7 years 9 months ago #10583

  • taqtaq
  • taqtaq's Avatar
  • Visitor
  • Visitor
You should see this:
wiki.freepascal.org/fpCEF3#Minimal_example

Usage

Minimal example
A minimal example with a simple browser is created.
Windows
The CEF libraries are needed for loading, so it makes sense to create a new project folder, to save the project and the libraries in it together.
Create a new directory for the project to a location of your choice such as C:\SimpleBrowser
Copy the complete CEF3 directory Resources to C:\SimpleBrowser
Copy the contents of the CEF3 directory Release in the directory C:\SimpleBrowser
The files (libcef.dll, natives_blob.bin, icudtl.dat etc.) are in the same directory as the project and the directory locales in C:\SimpleBrowser\locales.
To prevent misunderstands, here is a picture how the file and directory structure of the Simplebrowser should look:



Remember put into project folder (folder where exe file are) the "icudtl.dat" file

Please Log in or Create an account to join the conversation.

How to use fpCEF3 ? 7 years 9 months ago #10584

  • taqtaq
  • taqtaq's Avatar
  • Visitor
  • Visitor
anything else...

See how are the project file. May be you should initiate the cef lib before form create
Program osrdemo;

{$MODE objfpc}{$H+}

Uses
  {$IFDEF UNIX}
  cthreads,
  {$ENDIF}
  Interfaces, // this includes the LCL widgetset
  Forms, Main, cef3lib, cef3api;

{$R *.res}

begin
  RequireDerivedFormResource := True;
  Application.Initialize;
  CefResourcesDirPath:='Resources';
  CefLocalesDirPath:='Resources\locales';
  CefInitDefault;
  Application.CreateForm(TMainform, Mainform);
  Application.Run;
end.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1