Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

XPCOMP with c++ works on my computer only

hi everybody

i created an extension with c++ for my firefox browser
i also create the xpi file.

this extension is called by an js file

after i install the extension on my own computer in firefox it works perfectly, no errors nothing.
but the problem is it just work on my computer.
if iinstall the extension on a different one i get the error

TypeError: Components.clases[cid] has no properties

.....
0
dMa
Asked:
dMa
  • 4
  • 3
  • 2
  • +1
1 Solution
 
dMaAuthor Commented:
sorry there is no solution.....
not only one...

i searched for houers.... and still on it to find one.

what do you think i know experts-exchange from? .....
0
 
tdorCommented:
Hello dMa,

As this works ok on your computer, but gives that error on another one -> I guess you are missing some files on the second computer
If you have enough patience use FileMon to see what files are asked by you plug in and NOT present on the second computer (http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx)

Ps. Windows does a lot of file opening & closing so don't get panic when you'll see the number of entryies this tool will return


Regards,

tdor
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
peetmCommented:
Another good tool to use is Depends.exe - run it in Profiling mode.
0
 
dMaAuthor Commented:
maybe sombody who have experiance with extension developing, or maybe somone who knows about the problem?......

:)

i know tha tools very well, i did it allready with the dependency walker
but iven if i copy the dll's that are required by the dll (witch is just.... stupid.....)
still do not work....
0
 
peetmCommented:
>>maybe sombody who have experiance with extension developing

Isn't there some sort of 'forum' for Firefox extension devs?
0
 
dMaAuthor Commented:
hmmm actually i don't know
0
 
tdorCommented:
eh....

somewhat close finds on the Mozilla developers forum

http://support.mozilla.com/tiki-view_forum_thread.php?locale=it&forumId=1&comments_parentId=58910
http://support.mozilla.com/tiki-view_forum_thread.php?comments_parentId=58910&forumId=1


according to this you should make sure that .net framework is installed on the other machine. It also ahs a link to MS on how to create a Bootstrapper setup for a project and add Microsoft .NET Framework 2.0 as a prerequisite
http://groups.google.com/group/mozilla.dev.extensions/msg/a1c13be4886f6cb3


tdor
0
 
imrancsCommented:
May be it will be the problem of properly registration of your xpcom in other machine. Just try to delete the comp.dat and xpt.dat files from extenstions folder. may be it helped.
0
 
imrancsCommented:
sorry.
I have written the file names incorrect. Please correct these names
comp.dat --> compreg.dat
xpt.dat --> xpti.dat
sorry once again
0
 
dMaAuthor Commented:
ok, thx i will check you solutions soon, unfotunetly right now i'm not at home right now....
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now