Subj : Re: Create an instance of a JS object from C To : netscape.public.mozilla.jseng From : spellcaster@web.de (spellcaster) Date : Mon Dec 15 2003 12:57 pm Brendan Eich wrote in message news:<3FDA0107.8020707@meer.net>... > > What about JS_NewObject, JS_ConstructObject, and > JS_ConstructObjectWithArguments? If you want to call JS_NewObject and > then to define the resulting new object as the value of some named > property in another object, use JS_DefineObject. > > /be Thanks for the reply. I think JS_DefineObject is the function I have been looking for. (It's so obvious as soon as somebody point it out ;)). Regards, spellcaster .