Subj : Re: Creating objects with parameters from C/C++ To : Andreas Podgurski From : Brendan Eich Date : Mon Jul 28 2003 12:13 pm Andreas Podgurski wrote: > Hi! > I need to create an object in C/C++ at runtime, which expects parameters to > the constructor. Sadly, JS_ConstructObject only takes the class as > parameter, so I can't call the constructor with creation parameters like on > script level (e.g. Pic=new Image(320,256);). Any possibility to it by hand > with an own function or isn't that possible at all? > Use JS_ConstructObjectWithArguments. /be .