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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

CEFSentinel RunError(217) - Lazarus

Post Reply
giovani.erthal
Posts: 12
Joined: Mon Nov 18, 2019 9:23 pm

CEFSentinel RunError(217) - Lazarus

Post by giovani.erthal »

All demos that still use CEFSentinel fail to start. The debugger reports error 217.
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4572
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEFSentinel RunError(217) - Lazarus

Post by salvadordf »

Hi,

Thanks for reporting this issue! :D

Please, download CEF4Delphi again.

TCEFSentinel was missing one unit in the "uses" section and the call to the wrong "AllocateHWnd" was causing this error.
User avatar
salvadordf
Posts: 4572
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEFSentinel RunError(217) - Lazarus

Post by salvadordf »

I also forgot to put some conditional directives around TOnHandledMessageEvent in uCEFBufferPanel to build CEF4Delphi in Linux. I'll add this in the next update :

Code: Select all

  {$IFDEF MSWINDOWS}
  TOnHandledMessageEvent    = procedure(Sender: TObject; var aMessage: TMessage; var aHandled : boolean) of object;
  {$ENDIF}
giovani.erthal
Posts: 12
Joined: Mon Nov 18, 2019 9:23 pm

Re: CEFSentinel RunError(217) - Lazarus

Post by giovani.erthal »

It works, thank you very much!
Post Reply