Hello when I call TWebBrowser.Document properties, i am receiving this error message "Function to be called, TOleControl.GetIDispatchProp, was eliminated by linker" how to solve this problem.
I am trying to get document property , on clicking "a" element in browser dom.
function TDocument.GetDocument: IDispatch;
begin
FDocument := MainForm.Browser.Document;
Result := MainForm.Browser.Document;
end;