I don't have a Delphi 7 license but this seems to be the same problem Lazarus and FPC have with that assignment.tsuyoshi iwasaki wrote: Fri Aug 31, 2018 12:40 am When compiling DOMVisitor with Delphi 7, an error occurs at line 302 of uDOMVisitor.pas.
How do I compile DOMVisitor with Delphi 7?
Here is the program code of line 302.
"GlobalCEFApp.OnProcessMessageReceived := GlobalCEFApp_OnProcessMessageReceived;"
I can't test this fix but you probably need to move that procedure to the public section of TDOMVisitorFrm. It would be executed with DOMVisitorFrm.GlobalCEFApp_OnProcessMessageReceived. Then you can assign it like this :
Code: Select all
GlobalCEFApp.OnProcessMessageReceived := DOMVisitorFrm.GlobalCEFApp_OnProcessMessageReceived;
It's free and CEF4Delphi works without modifications :
https://www.embarcadero.com/products/delphi/starter