Delphi-PRAXiS
Seite 2 von 3     12 3      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi TChromium unter Delphi10.3.3 (https://www.delphipraxis.net/203123-tchromium-unter-delphi10-3-3-a.html)

jaenicke 16. Jan 2020 14:53

AW: TChromium unter Delphi10.3.3
 
Die Chromium DLLs und der locales Ordner sollten, wenn es nicht anders konfiguriert ist, im Verzeichnis der Anwendung liegen.

Wir haben an der Stelle für die DLLs ein Unterverzeichnis lib konfiguriert.

Der Suchpfad, wie DeddyH geschrieben hat, wäre auch möglich, würde ich aber nicht empfehlen.

Delbor 16. Jan 2020 15:10

AW: TChromium unter Delphi10.3.3
 
Hi DeddyH

Ich hab dem Suchpfad den Pfad zu dem bin-Verzeichnis in dcef3-master hinzugefügt, da das Bin-Verzeichnis in CEF4Delphi keinen locates-Ordner enthält. Mit der Windows-Suche habe ich in beiden Verzeichnissen (dcef3-master + CEF4Delphi ) nach '.pak' gesucht - in letzterem gibts sowas nicht.
Zusätzlich habe ich den locates-Ordner in den Debug-Ordner kopiert.

Es ändert sich nichts...

Gruss
Delbor

salvadordf 16. Jan 2020 18:53

AW: TChromium unter Delphi10.3.3
 
Hi Delbor,

First of all, sorry for speaking in English in a German forum.

Please, open the CEF4Delphi project page and click on the link "Installation instructions and more information about CEF4Delphi".

All the information you need is there.

jaenicke 16. Jan 2020 19:48

AW: TChromium unter Delphi10.3.3
 
Zitat:

Zitat von Delbor (Beitrag 1455348)
Ich hab dem Suchpfad den Pfad zu dem bin-Verzeichnis in dcef3-master hinzugefügt, da das Bin-Verzeichnis in CEF4Delphi keinen locates-Ordner enthält. Mit der Windows-Suche habe ich in beiden Verzeichnissen (dcef3-master + CEF4Delphi ) nach '.pak' gesucht - in letzterem gibts sowas nicht.

Hast du das Binary-Paket denn schon heruntergeladen? Darin liegen unter Release die DLLs usw. und unter Resources die .pak Dateien.

Das steht aber auch alles 1:1 in den Installationsanweisungen, auf die auch salvadordf nun hingewiesen hat.

Zitat:

Zitat von salvadordf (Beitrag 1455367)
First of all, sorry for speaking in English in a German forum.

You are welcome here. Any help is appreciated.

Delbor 16. Jan 2020 21:29

AW: TChromium unter Delphi10.3.3
 
Hi salvadordf

Thanks for your Link! My English is very bad, but maybe i can Understand better with Google Translator.
Zitat:

First of all, sorry for speaking in English in a German forum.
Thats no problem!

Greetings
Delbor

Delbor 17. Jan 2020 12:38

AW: TChromium unter Delphi10.3.3
 
Liste der Anhänge anzeigen (Anzahl: 2)
Hi zusammen

Zitat:

Zitat von jaenicke (Beitrag 1455375)
Zitat:

Zitat von Delbor (Beitrag 1455348)
Ich hab dem Suchpfad den Pfad zu dem bin-Verzeichnis in dcef3-master hinzugefügt, da das Bin-Verzeichnis in CEF4Delphi keinen locates-Ordner enthält. Mit der Windows-Suche habe ich in beiden Verzeichnissen (dcef3-master + CEF4Delphi ) nach '.pak' gesucht - in letzterem gibts sowas nicht.

Hast du das Binary-Paket denn schon heruntergeladen? Darin liegen unter Release die DLLs usw. und unter Resources die .pak Dateien.

Von Github hab ich mir die Zips geladen und entpackt:
Anhang 52015

Diese beiden Ordner hab ich in mein Entwicklerverzeichnis kopiert. Nachdem ich Delphi gestartet und über <alle schliessen> sichergestellt habe, dass nichts mehr in der IDE geöffnet ist, hab ich über <Projekt öffnen> CEF4Delphi_FMX.dproj geladen.
Die originale Insrallationsanweisung:

Zitat:

Download the latest version of CEF4Delphi from GitHub.
Decompress CEF4Delphi into a directory and make sure your user has write privileges in that directory.
Run Delphi.
Add the CEF4Delphi's source directory to the Library path in Delphi inside the Tools->Options menu. The Options window will show up and there you have to click on Environment Options->Delphi Options->Library, select the right platform (32 or 64 bits) and add directory in Library path.
Open the file CEF4Delphi.dproj from Delphi if you only want the VCL components. If you want VCL and FireMonkey (FMX) components, open CEF4Delphi_FMX.dproj.
Right-click on the CEF4Delphi.bpl icon inside the Project manager and select the Build (erzeugen?) option.
Right-click on the CEF4Delphi.bpl icon inside the Project manager and select the Install option.
Diesmal hab ich erzeugen - Compilieren - instalieren in dieser Reihenfolge gewählt, anschliessend <alle schliessen> das Projekt geschlossen und dabei die Frage, ob gespeichert werden soll, mit ja beantwortet.

Schliesslich hab ich die selbe Demo wie früher schon geöffnet - die Dlls und der locate-Ordner liegen da schon unter Win32/Debug.
Das Resultat war dasselbe - kurz nach dem Start zeigt mir das Programm die Vermisstenliste und bricht ab.
Somit habe ich eigentlich die Installationsanweisung befolgt.

Izwischen habe ich die Komponente wieder entfernt und auch alle zugehörigen Dateien gelöscht (.Bpl & Co) und das Projekt nochmal in Delphi geöffnet. Das sieht nun so aus:
Anhang 52016
Irgendwie hab ich den Verdacht, dass da die .pak-Dateien unter erfordert hinzugefügt werden müssen.


Gruss
Delbor

PS:
Zitat:

Irgendwie hab ich den Verdacht, dass da die .pak-Dateien unter erfordert hinzugefügt werden müssen.
Hab erst nachtäglich gesehen, dass das gar nicht möglich ist.

Delbor 17. Jan 2020 13:35

AW: TChromium unter Delphi10.3.3
 
Hi zusammen

Ein kleiner Zwischenerfolg:
Error
Zitat:

---------------------------
CEF binaries missing !

The missing files are :
chrome_elf.dll
libcef.dll
d3dcompiler_47.dll
libEGL.dll
libGLESv2.dll
swiftshader\libEGL.dll
swiftshader\libGLESv2.dll
icudtl.dat
natives_blob.bin
snapshot_blob.bin
v8_context_snapshot.bin
cef.pak
cef_100_percent.pak
cef_200_percent.pak
cef_extensions.pak
devtools_resources.pak
---------------------------
Im Anwendungsverzeichnis liegt der Ordner Locate. Dessen Inhalt hab ich nun deisem Verzeichnis spendiert.

Gruss
Delbor

salvadordf 17. Jan 2020 15:05

AW: TChromium unter Delphi10.3.3
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hi,
  • Download the CEF binaries package for your application (32 or 64 bits). You have to download the CEF binaries using the link found in the readme.md file.
  • Decompress the CEF binaries package and copy the contents of the Release and Resources directories to the CEF4Delphi\bin directory.
  • Run Delphi and build the CEF4Delphi\demos\Delphi_VCL\MiniBrowser demo. All the demos create the EXE file inside the CEF4Delphi\bin directory.
  • Run the demo and you shouldn't see those errors because the EXE and all the CEF files will be in the same place as you can see in the attached image.

Edit : I forgot to add that it's not possible to have DCEF3 and CEF4Delphi installed at the same time because they share many class names, type names, etc.

Delbor 17. Jan 2020 16:23

AW: TChromium unter Delphi10.3.3
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hi salvadordf

Thanks for your Answer - Sorry, i'm not shure, taht my english is coretly.

In the last Time i have founded the Binarys, downloaded and decrommpressed.
Anhang 52020

Zitat:

Edit : I forgot to add that it's not possible to have DCEF3 and CEF4Delphi installed at the same time because they share many class names, type names, etc.
DCEF3 is not installed, but i have thinked, that i'm need Files from DCEF3.
But a question: My Windows is 64Bit, but with Delphi i'm create 32Bit-Apps(just now). For this im think, i'm need the 32-Bit Version from DCEF4Delphi, but the DCEF4Delphi64-Bit i'm need vor Building 64-Bit-Apps. Thas Correctly?

Greetings and Thanks
Delbor

salvadordf 17. Jan 2020 16:48

AW: TChromium unter Delphi10.3.3
 
It's not important if you use Windows 64 bits or 32 bits.

If your application is 32 bits then you need to use the 32 bits package called
cef_binary_79.1.31+gfc9ef34+chromium-79.0.3945.117_windows32.tar.bz2

That package only works if you installed the latest CEF4Delphi version 79.1.31 which I uploaded today.
If you installed an older CEF4Delphi component then you have to uninstall the old CEF4Delphi version and then install the new version.


Alle Zeitangaben in WEZ +1. Es ist jetzt 00:47 Uhr.
Seite 2 von 3     12 3      

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz