This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

XPCOM registration is failing with gecko 13 on win7

  • 1 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย cor-el

more options

I have created an firefox extension(.xpi) using gecko 13 sdk. That works perfectly fine on Windows XP but its failing to register itself on Vista and Win7. On Win7 and Vista, I am getting error "Obj is undefined" while executing this line in my js file

Obj = Components.classes[classid].createInstance().

I have tried launching firefox as administrator but that didn't help. Also, when I enabled NSPRLogging then I got this error.


0[f0f140]: nsNativeModuleLoader::Init()

Kindly guide me how I can make this extension work on Vista and Win7.

I have created an firefox extension(.xpi) using gecko 13 sdk. That works perfectly fine on Windows XP but its failing to register itself on Vista and Win7. On Win7 and Vista, I am getting error "Obj is undefined" while executing this line in my js file Obj = Components.classes[classid].createInstance(). I have tried launching firefox as administrator but that didn't help. Also, when I enabled NSPRLogging then I got this error. 0[f0f140]: nsNativeModuleLoader::Init() Kindly guide me how I can make this extension work on Vista and Win7.

การตอบกลับทั้งหมด (1)

more options

Try to ask advice at the MozillaZine Extension Development forum.

You need to register on the MozillaZine forum site in order to post at that forum.