Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

installation problems CEF4Delphi -> Delphi 7-> Windows 10

Post Reply
rafael_deitos
Posts: 1
Joined: Mon Jul 20, 2020 6:59 pm

installation problems CEF4Delphi -> Delphi 7-> Windows 10

Post by rafael_deitos »

Hi,

I am installing CEF4 using CEF4Delphi_D7.dpk, I'm in an environment with windows 10 x64, using delphi 7

During DPK compilation I get the following error:

[Error] uCEFJson.pas(80): Undeclared identifier: 'TEncoding'

in the following code snippet:

Code: Select all

unit uCEFJson;

class function LoadFromFile(const aFileName: ustring; var aRsltNode: ICefValue; encoding: TEncoding = nil; options: TCefJsonParserOptions = JSON_PARSER_RFC): boolean;
Really "TEncoding" was only released with versions superior to delphi 2009.

Do you have any solution for that?
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: installation problems CEF4Delphi -> Delphi 7-> Windows 10

Post by salvadordf »

I'm sorry.

I'll add some conditional directives to fix this issue and I'll upload a new version tomorrow.
User avatar
VldMrgnn
Posts: 2
Joined: Tue May 31, 2022 3:52 am

Re: installation problems CEF4Delphi -> Delphi 7-> Windows 10

Post by VldMrgnn »

Hello, first of all thank you for the great library!
I just tried to compile the ResponseFilterBrowser / uResponseFilterBrowser wich errored "Undeclared identifier 'TEncoding' ".
I am Using "CEF4Delphi uses CEF 105.3.39 which includes Chromium 105.0.5195.127" on Windows, Delphi 7.
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: installation problems CEF4Delphi -> Delphi 7-> Windows 10

Post by salvadordf »

Hi,

The Delphi demos were created using Delphi 10 and 11. There are only 2 demos ready to be tested by Delphi 7 users : SimpleBrowser and SimpleBrowser2.

If you want to run the rest of the demos try installing Lazarus.

In case you require Delphi 7 then you will have to search for alternative components similar to the components available in the latest Delphi version.
User avatar
VldMrgnn
Posts: 2
Joined: Tue May 31, 2022 3:52 am

Re: installation problems CEF4Delphi -> Delphi 7-> Windows 10

Post by VldMrgnn »

Thank you
Post Reply