Martin Kutschker <[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]>...
> You need XPCOM to do it. If you want an easier acces use the JSLib found 
> at jslib.mozdev.org (or copy the relevant code).
> 
> But remember that you have to ask for UniversalXPConnect privs.

I included file.js at the top of the web page, and got
UniversalXPConnect, but whenever I try to call a jslib/file function,
I get a large random-looking number instead of a sane return code (ie
file.eof() -> 3253927937).

I tried including io.js, filesystem.js, and jslib.js too, but it
didn't make any difference.

Any ideas what's going on?

Thanks,

Matt

Reply via email to