Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

XPCOM registration is failing with gecko 13 on win7

  • 1 risposta
  • 1 ha questo problema
  • 1 visualizzazione
  • Ultima risposta di 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.

Tutte le risposte (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.