DLL files

Brett Zamir <[email protected]> Fri, 07 Dec 2007 10:34:42 +0800
Newsgroups gmane.comp.mozilla.devel.java
Message-ID <4758B142.7090303__47898.0953609154$1196994939$gmane$org@yahoo.com>
Hello,

Can someone tell me whether it is sufficient to use a URLClassLoader to 
find JAR files if DLL's are used by the JAR's, or must one actually 
place the DLL files referenced by the JARs in a specific 
Firefox-dependent directory?

I remember getting my extension to work before by placing the DLL files 
within the main application directory of C:\Program Files\Mozilla 
Firefox, but Firefox is not finding the DLL's now (I took them out of 
the main app dir since I don't want them there), and at the very least, 
I'd like to place the DLL's in the /components directory of my 
extension, or, even better, not have to copy DLL files anywhere at all 
and just let the JAR files I reference find them, since the user may 
have their own software they will wish to use and I don't want to force 
them to have to download bulky DLL files if they already have them).

And also, how should I use .autoreg if at all (and in a cross-platform 
way to work with .lib files too)?

I'd really appreciate some help, as I'm on the cusp of getting this all 
to work, if the above problems can be solved...

thanks,
Brett