Subj : Interfacing to C++ To : netscape.public.mozilla.jseng From : Thorsten R Date : Fri Sep 03 2004 10:32 am In order to reflect C++ classes of my application to the JS engine, I'm currently creating a JS prototype class for each C++ class (where the pointers to getProperty and setProperty are set) and then use JS_DefineObject() for each instance of my internal C++ objects - so I have named JS objects. A few days ago Brendan suggested to use "lazy techniques", in conjunction with JSClass.resolve, JSClass.getProperty, JSClass.enumerate. I looked into it and currently do not see the advantage. But it is possible I missed something. Can anyone point out the advantage of using lazy techniques? Thanks Thorsten .