TWebbrowser and Javascript



Hi everyone,

I have see an application called SiteKiosk that allows JavaScript, inside a
html document, to access objects and procedures in its own exe.

objects can be created in JavaScript along the lines of

var MyObject = SikeKiosk.Email.CreateJob

there is no declaration in JavaScript for the object class, so it must be
create by the containing .exe

also, JavaScript code can call routines from inside the executable, i.e.

windows.external.InitScriptInterface();

reading into this I have found that it is done using IDispatch interface

can any point me in the direction of some information on how to achieve this
functionality in my own applications, possibly using a TWebbrowser
component?

does anyone know of any components that open up this kind of functionality?

Thanks for any help

Vertuas



.



Relevant Pages