Subj : Re: Querying the name of the function being called in the static To : Stephen Jones From : Brendan Eich Date : Wed Mar 12 2003 10:48 am > > >Anyway, doing this is easy enough with properties, and it would be easy >enough to have static methods in the container, but the problem comes from >unpacking the parameters to the method. I would like to be able to abstract >this so that the "core"can dynamcally dispatch method calls with varying >arguements to the "containers", probably using some sort of Variant data >type for the parameters. > > Have you looked at XPConnect, which now optionally supports MS-COM objects including IDispatch, to a great extent (perhaps not all argument types and combinations, but the common ones)? See http://www.mozilla.org/scriptable/ -- dbradley@netscape.com is the owner and he reads this group, so feel free to ask questions here (we don't have a mozilla.xpconnect group). /be .