Hi,

Is there a way for my object to tell CreateIntstance that object initialization has failed, and that CreateIntstance should return an error code to the caller?

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.

Thanks,
-- Vitaly
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to