I have been trying to follow this tutorial I found:
How to call Delphi code from scripts running in a TWebBrowser (part 2 of 6)
It explains how I can call Delphi functions through JavaScript. I don't properly understand how it works, but at the moment that is not important and I am just trying to get it to work.
I tried to follow it exactly, but I am getting an error when I try to compile:
Error loading type library/dll
Upon downloading their example, I noticed they had a .tlb
file in the program, apparently this should have been created through the Type Library Editor, but I don't have such a file in my project. I believe this is creating the error, but I may be wrong.
Why isn't this file being created? How can I create that file?
I can't think of any code or screen grabs that could be useful, so please let me know if there are any I should include.