salvadordf / WebView4Delphi

WebView4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows.
https://www.briskbard.com/forum/
MIT License
280 stars 56 forks source link

Is there any way use the AddHostObjectToScript in Lazarus? #37

Closed heimo88 closed 1 year ago

heimo88 commented 1 year ago

this line can run in delphi well,but in Lazarus, it crashed, it seems can't call TAutoObjectFactory.Create in the EXE project? TAutoObjectFactory.Create(ComServer, TMainHostObject, Class_SampleHostObjectClass, ciMultiInstance, tmApartment);

heimo88 commented 1 year ago

is ok now