unable to use getRegistryEntry

RESOLVED INVALID

Status

()

Firefox
General
RESOLVED INVALID
14 years ago
14 years ago

People

(Reporter: Henrik Gemal, Assigned: Blake Ross)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
'm trying to use getRegistryEntry from the winhooks object in Mozilla Firefox
but I cant seem to get it working.

In Mozilla 1.x the following code:
Code:
var x =
Components.classes["@mozilla.org/winhooks;1"].getService(Components.interfaces.nsIWindowsRegistry);
alert(typeof(x.getRegistryEntry));
alerts function

but the same thing in Mozilla Firefox says "undefined" or "TypeError:
Components.classes['@mozilla.org/winhooks;1'] has no properties"

Isn't it possible to use getRegistryEntry in Mozilla Firefox?

Comment 1

14 years ago
Result of bug 236744?

CC'ing Ben.
from the contents of the patch, it looks like ben completely killed winhooks iin
Firefox in bug 236744 when he implemented the shell service.  It doesn't really
do much in the way of providing what you wanted out of winhooks though, but if
you want to file an RFE to support this type of interface, go ahead and file it
against ben.  I doubt you'll see it implemented though.
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → INVALID
(Reporter)

Comment 3

14 years ago
I've submitted:
http://bugzilla.mozilla.org/show_bug.cgi?id=237754

no new code is needed since all the code is already there. we just need to move
stuff around. I'm not a C coder so I cant really help. But it shouldn't be so
hard making the function getRegistryEntry a part of another object fx the new
shell service.

For my extension Launhcy this is a complete blocker...:(
http://gemal.dk/mozilla/launchy.html
You need to log in before you can comment on or make changes to this bug.