dliw / fpCEF3

Chromium Embedded Framework for Free Pascal
Mozilla Public License 2.0
143 stars 52 forks source link

EOSError: The application seems to not load CefLib #8

Closed OsvaldoTCF closed 10 years ago

OsvaldoTCF commented 10 years ago

EOSError: The application seems to not load CefLib

Ubuntu 14.04 64 Lazarus 1.2.4 / FPC 2.6.4 fpCEF3: master - uptodate CEF3 3.1

function CefLoadLibrary: Boolean; begin {$IFDEF DEBUG} Debugln('CefLoadLibrary'); {$ENDIF}

If LibHandle = 0 then begin Set8087CW(Get8087CW or $3F); // deactivate FPU exception SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]);

LibHandle := LoadLibrary(PChar(CefLibrary));
If LibHandle = 0 then RaiseLastOsError;   

...

[FORMS.PP] ExceptionOccurred Sender=EOSError Exception=An operating system call failed. Stack trace: $00000000004B13CF $00000000004B12C8 $0000000000772367 line 216 of ../cef3lib.pas $000000000077227C line 194 of ../cef3lib.pas $0000000000773A0E line 609 of ../cef3lib.pas $00000000007749DB line 573 of cef3lcl.pas $0000000000611716 line 7692 of include/wincontrol.inc $00000000006107AD line 7384 of include/wincontrol.inc $000000000044642D line 23 of include/scrollingwincontrol.inc $000000000044F632 line 2586 of include/customform.inc $0000000000451121 line 3045 of include/customform.inc $000000000060EA14 line 7249 of include/wincontrol.inc $0000000000611716 line 7692 of include/wincontrol.inc $000000000045CD87 line 2184 of include/application.inc $000000000041E084 line 18 of simple.lpr TApplication.HandleException An operating system call failed. Stack trace: $00000000004B13CF $00000000004B12C8 $0000000000772367 line 216 of ../cef3lib.pas $000000000077227C line 194 of ../cef3lib.pas $0000000000773A0E line 609 of ../cef3lib.pas $00000000007749DB line 573 of cef3lcl.pas $0000000000611716 line 7692 of include/wincontrol.inc $00000000006107AD line 7384 of include/wincontrol.inc $000000000044642D line 23 of include/scrollingwincontrol.inc $000000000044F632 line 2586 of include/customform.inc $0000000000451121 line 3045 of include/customform.inc $000000000060EA14 line 7249 of include/wincontrol.inc $0000000000611716 line 7692 of include/wincontrol.inc $000000000045CD87 line 2184 of include/application.inc $000000000041E084 line 18 of simple.lpr

OsvaldoTCF commented 10 years ago

Confusion with different versions. Sorry.