Page 1 of 1

CEFSentinel RunError(217) - Lazarus

Posted: Mon Feb 03, 2020 7:47 pm
by giovani.erthal
All demos that still use CEFSentinel fail to start. The debugger reports error 217.

Re: CEFSentinel RunError(217) - Lazarus

Posted: Tue Feb 04, 2020 10:07 am
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.

Re: CEFSentinel RunError(217) - Lazarus

Posted: Tue Feb 04, 2020 10:29 am
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}

Re: CEFSentinel RunError(217) - Lazarus

Posted: Tue Feb 04, 2020 1:48 pm
by giovani.erthal
It works, thank you very much!