Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XP COM component is not loaded

3 views
Skip to first unread message

Sinistra Dexx

unread,
Mar 25, 2012, 11:10:14 PM3/25/12
to
Hi

I wanted to create a little custom hashing function for server
communication security (hash the username and use that as a password).
For this to work I need my hashing function to be a secret, hidden,
closed source, so one way would be a complicated then obfuscated
JavaScript or a C++ XPCOM component. I went with the second option,
but can't get it to work.

It builds successfully, added to the components sub-folder of my add-
on (the xpt and dll files), also added to the manifest file:

interfaces components/name.xpt
binary-component components/name.dll

My problem is that it seems like Firefox doesn't load it. XPCOMViewer
can't find it, and if I try to get the service from javascript I get
an exception with the following message:

TypeError: Components.classes['@path/name;1'] is undefined

I know this isn't much info, but there are too many program lines
(like the headers of the component), so please request which details
should I post and I'll do it. I appreciate any advice, I'm stuck with
this since ages.

Best regards,
lil-Dexx

Sinistra Dexx

unread,
Mar 25, 2012, 11:17:43 PM3/25/12
to
Just realized how I posted this to the worst place possible. Sorry, I
will re-post it to the extension development group.
0 new messages