Recent

Author Topic: [SOLVED] Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556  (Read 13736 times)

yurkad

  • Full Member
  • ***
  • Posts: 173
  • development
Hello!
I'm trying to do App  with embedded Chromium Browser.

OS Windows XP 32 bit.
Lazarus version 1.4.4
CEF version 3.2556.1366 (Brunch 2556 from https://cefbuilds.com/)

In the page
https://github.com/dliw/fpCEF3
It's written
Download CEF3 from here or here and copy all files from either Debug or Release to the folder your .exe is / will be in.

I made it with Relase file.
But after unzip appears file libcef.dll.pdb

From Internet I downloaded several files for decompress this  libcef.dll.pdb file.
But Unsuccessfully.
 
Maybe I do something wrong?
 :(
« Last Edit: February 04, 2016, 09:47:33 pm by yurkad »

Laksen

  • Hero Member
  • *****
  • Posts: 801
    • J-Software
Re: Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556
« Reply #1 on: February 03, 2016, 09:53:54 am »
Pdb files usually just contain debug info. Did you download symbols instead of the main files?

yurkad

  • Full Member
  • ***
  • Posts: 173
  • development
Re: Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556
« Reply #2 on: February 03, 2016, 12:58:44 pm »
Laksen, Thank.

I did download main file (Brunch 2556 from https://cefbuilds.com/).
And Unzipped it. No problem here.

After this according of instruccion in the page https://github.com/dliw/fpCEF3
(Download CEF3 from here or here and copy all files from either Debug or Release to the folder your .exe is / will be in) I downloaded  release file too. And here have problem for unzip file
libcef.dll.pdb, which was within release file.

« Last Edit: February 03, 2016, 01:01:50 pm by yurkad »

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556
« Reply #3 on: February 03, 2016, 01:39:10 pm »
I have a bigger project running here with a FPCEF3 browser inside. This page will maybe interesting for you http://wiki.freepascal.org/fpCEF3. For the current FPCEF you need the framework 2454 and there the .dll files. Downloadable from here https://cefbuilds.com/#branch_2454. Hope it helps.
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

yurkad

  • Full Member
  • ***
  • Posts: 173
  • development
Re: Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556
« Reply #4 on: February 03, 2016, 01:51:25 pm »
Michl, Thank!

I saw this brunch - without pdb extension! I will test it and maybe I will problems...

yurkad

  • Full Member
  • ***
  • Posts: 173
  • development
Re: Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556
« Reply #5 on: February 03, 2016, 03:52:28 pm »
Michl, I hope that I made all according of page http://wiki.freepascal.org/fpCEF3.

I downloaded brunch 2454 from page https://cefbuilds.com/.

But there are problems.

In the page http://wiki.freepascal.org/fpCEF3
under Usage/Windows It's written:
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.

But according of content of Usage/Windows of this page folder C:\SimpleBrowser\locales should not appear.
Well I add rhis folder and copied in this folder all files.

After this F9 is working. It is already very good!
But one problem - Cromium does not appear after F9!

I will try to solve this.

Thank you!




yurkad

  • Full Member
  • ***
  • Posts: 173
  • development
Re: Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556
« Reply #6 on: February 03, 2016, 04:06:02 pm »
One detail. My Lazarus 1.4.4 have not Palette with TEditButton.
I copied this Botton from another project.
How can be solved problem of TEditButton ?

Michl

  • Full Member
  • ***
  • Posts: 226
Re: Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556
« Reply #7 on: February 03, 2016, 05:16:50 pm »
Ok, I'll try to help.

- create 1 directory "C:\Simplebrowser"
- unzip the added project in it
- copy all files (and the one directory "locales") from "...\cef_binary_3.2454.1342.g4e94f47_windows32\Resources" in the directory "C:\Simplebrowser"
- copy all files from "...\cef_binary_3.2454.1342.g4e94f47_windows32\Release" in the directory "C:\Simplebrowser"
- now open the project and start it

Here it works (Windows 7 64bit, Lazarus 1.4.4 32bit)
Also added a picture of my directory and the directory locales
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

yurkad

  • Full Member
  • ***
  • Posts: 173
  • development
Re: Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556
« Reply #8 on: February 03, 2016, 10:43:29 pm »
Michl, Thanks by your effort!

That you made is excellent and best.

Comparing content of your folder and my:
1. All the names match.
2. Each file *.dll of your folder has same size that mine.

I used your project without any change.
However Control Cromium disappears after F9.  :( >:(

See file debug.log

About Component fpCEF3-master in ...\lazarus-1-4-4\components\fpCEF3-master :
File cef.inc of 12 2015, same other files.

For doubt: my CEF version is 3.2556.1366 (Brunch 2556 from https://cefbuilds.com/).

Newly many thanks by Help!  :)






« Last Edit: February 03, 2016, 10:51:36 pm by yurkad »

yurkad

  • Full Member
  • ***
  • Posts: 173
  • development
Re: Chromium Embedded Framework for Free Pascal (fpCEF3) BRUNCH 2556
« Reply #9 on: February 03, 2016, 11:04:57 pm »
Michl, Great News!

All is working!

I am very Glad for your Help! :)

The cause of problem: In my PC was running an my App, something as firewall.
After kill it All is Good.

But now I don't know how mark this Topic as Solved.
« Last Edit: February 03, 2016, 11:07:17 pm by yurkad »

 

TinyPortal © 2005-2018