Closed Bug 237617 Opened 21 years ago Closed 21 years ago

unable to use getRegistryEntry

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bugzilla, Assigned: bugzilla)

Details

'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?
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
Closed: 21 years ago
Resolution: --- → INVALID
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.