"pete collins" <[EMAIL PROTECTED]> schrieb ...
> netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
>
> var Hello=new Components.Constructor("hello_world_component",
> "nsIHello");
> var h=new Hello();
> for(var list in h)
> document.write(list+"<br>\n");
> </script>
Thanks - that was exactly what I was missing. Is it right
that one has to call regxpcom.exe before the component is
registered? The above code only run after I executed regxpcom.
Is there a way to have something like autoregister for a XPCOM
component? I thought that all components from the component
folder are registered when the browser starts.
Regards, Tobias Trelle
--
CyCo Systems GmbH & Co. KG >>> http://www.cycosys.com/