I've written a sample component that for some reason will not register
( of course it helps that I am not precisely clear on how such a
component needs to register itself ).
My understanding is that I can Autoregister it if I place is someplace
and define certain functions. In this fashion, it will register itself
with mozilla when you start mozilla. Unfortuantely since we only want
to access some parts of Mozilla, and not necessarily have it run, that
is not something we want.
In the Doczilla document they suggest using a program called
regfactory, but I could not find it. i did follow the rest of the
documents recommendations.
I've also tried to follow nsSampleModule.cpp closely, to no avail.
It seems that registration dies when the call NR_RegGetKeyRaw
fails. The error number returned is: 80040154.
Any idea why it fails?
TIA


Reply via email to