mike, well, your code needs to be part of some mozilla component, if not belonging to its very own component. how have you integrated your code?
darin Mike Lee wrote: > Darin Fisher wrote: > >> >> are you sure your call to registerModule is executed? the other part >> of the puzzle is usually getting your component started up at the >> right time. cookies for example adds itself to the http-startup >> category. this allows it to be notified when the HTTP module >> initializes, allowing it to register itself as a nsIHttpNotify >> implementation. >> >> darin >> > > Well I explicitly call the function when a user clicked a button. But > reading your email I got a feeling I need to make this as a component > and load it during mozilla startup? Is that the case? > > Regards >
