Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

XPCOM registration is failing with gecko 13 on win7

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od 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.

Wszystkie odpowiedzi (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.