Solved

XPCOMP with c++ works on my computer only

Posted on 2008-10-06
11
363 Views
Last Modified: 2013-12-07
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
Comment
Question by:dMa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
11 Comments
 
LVL 10

Expert Comment

by:peetm
ID: 22652054
0
 
LVL 2

Author Comment

by:dMa
ID: 22652090
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
 
LVL 3

Expert Comment

by:tdor
ID: 22652216
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:peetm
ID: 22652314
Another good tool to use is Depends.exe - run it in Profiling mode.
0
 
LVL 2

Author Comment

by:dMa
ID: 22652345
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
 
LVL 10

Expert Comment

by:peetm
ID: 22652485
>>maybe sombody who have experiance with extension developing

Isn't there some sort of 'forum' for Firefox extension devs?
0
 
LVL 2

Author Comment

by:dMa
ID: 22652867
hmmm actually i don't know
0
 
LVL 3

Accepted Solution

by:
tdor earned 500 total points
ID: 22661661
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
 
LVL 10

Expert Comment

by:imrancs
ID: 22719315
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
 
LVL 10

Expert Comment

by:imrancs
ID: 22719341
sorry.
I have written the file names incorrect. Please correct these names
comp.dat --> compreg.dat
xpt.dat --> xpti.dat
sorry once again
0
 
LVL 2

Author Comment

by:dMa
ID: 22719726
ok, thx i will check you solutions soon, unfotunetly right now i'm not at home right now....
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JSON/JQuery/AJAX Error Identification 2 75
Using URL without web site 2 40
Chrome is Bypassing Proxy Settings 5 67
prevented Firefox in organization 7 44
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question