- Posts: 1
- Thank you received: 0
- Forum
- CodeTyphon Studio
- CodeTyphon Studio Components and Libraries
- Web Development
- How to use fpCEF3 ?
×
Components and Libraries for Web Development, discussions, problems and suggestions
Question How to use fpCEF3 ?
- stivionade
- Topic Author
- Offline
- New Member
-
Less
More
5 years 10 months ago #9851
by stivionade
How to use fpCEF3 ? was created by stivionade
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
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.
- taqtaq
- Visitor
-
5 years 3 months ago #10582
by taqtaq
Replied by taqtaq on topic How to use fpCEF3 ?
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.
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.
- taqtaq
- Visitor
-
5 years 3 months ago #10583
by taqtaq
Replied by taqtaq on topic How to use fpCEF3 ?
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
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.
- taqtaq
- Visitor
-
5 years 3 months ago #10584
by taqtaq
Replied by taqtaq on topic How to use fpCEF3 ?
anything else...
See how are the project file. May be you should initiate the cef lib before form create
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.