Updated: Mozilla's SpiderMonkey headers and new bridge class
From: Sterling Bates (sterlingb_at_bigbangmapsonco.com)
Date: 10/31/03
- Next message: Jerry Hayes: "Re: RichView Package 1.8"
- Previous message: Oliver Feins: "Re: TDBGrid replacement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Oct 2003 10:32:10 -0700
(Sorry for the multipost...)
Several months ago I released a code collection to facilitate
Delphi<->SpiderMonkey interaction. I've since made several updates to those
files, including bug fixes and whatnot, and have also constructed a bridge
class that permits a TObject-only descendent to instantly interact with
script and native code.
The files are available at http://www.sterlingbates.com/delphi.asp
When a TObject descends from the bridge class, all of its published
properties and methods are exposed to the SpiderMonkey engine. With only a
few lines of code, any TObject descendent's published properties and methods
become callable from both Delphi code and Javascript code.
While documentation is a little sparse at this point, any assistance with
documentation, bugs, and suggestions are always appreciated. The code is
freeware, and the only thing I ask is that the file headers stay in place.
Take care,
Sterling
- Next message: Jerry Hayes: "Re: RichView Package 1.8"
- Previous message: Oliver Feins: "Re: TDBGrid replacement"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|