Search Support

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.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

XPCOM registration is failing with gecko 13 on win7

  • 1 freagra
  • 1 leis an bhfadhb seo
  • 1 view
  • Freagra is déanaí ó 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.

All Replies (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.