Vitaly Kuvaev wrote:
In COM, there's a surrogate constructor method that is called by CreateIntstance upon object creation. If this method fails, CreateIntstance fails as well. It would be handy to have this ability in XPCOM.
See NS_GENERIC_FACTORY_CONSTRUCTOR_INIT. _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
