Loading native XPCOM component (was nsIBadCertListener and JVM death)

Greg Bowyer <[email protected]> Wed, 13 Jun 2007 15:20:24 +0100
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <-5ednaoKwMESYPLbnZ2dnUVZ_sLinZ2d__29243.215165525$1181744716$gmane$org@mozilla.org>
Hi all, I have built a C++ native component for doing a task of handling 
invalid certificates, anyone got any hints on how I register this with 
XPCOM, I am assuming something to do with 
nsIComponentRegistrar.registerFactoryLocation, but I can't figure it out.