Nickolay Ponomarev wrote:
> On 24 Mar 2007 23:22:04 -0700, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
>> When I use the same XPI file to distribute my extension to other
>> computers I get the now Classic "Type Error: Components.Classes[xxx]
>> has no properties" with both FF 1.5 and 2.0.
>>
> It is often suggested to use Dependency walker for debugging
> registration troubles.
> 
> Nickolay

If you're using external DLLs, make sure you're using the loader 
techinque found in:
http://developer.mozilla.org/en/docs/Using_Dependent_Libraries_In_Extension_Components

Also, MSVC7 needs msvcr70.dll / msvcp70.dll, so if your non-development 
machine doesn't have those, that would be required too.  Of course, that 
means you need to build your loader dll using VC6 instead (since that 
also needs the C runtime)...

As for dependency walker usage:
Add only the directory holding Firefox.exe to the search path (Options 
-> Configure Module Search Order.. -> Browse... on the bottom right then 
Add Directory on the bottom left).  Do not add anything else such as 
your extension directory.

HTH,

-- 
Mook
mook dot moz plus stuff at gmail dot complex plane
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to