@(none) wrote:
I tried this code and got the following errors: macro
"NS_LITERAL_STRING" passed 3 arguments, but takes just 1

Oops, sorry, add a ) after the ".


Will NS_NewLocalFile create a new file if it doesn't exist?

No.


Also, can I change nsILocalFile object into an
nsIFile object?

No need to change anything - nsILocalFile is-a nsIFile.


_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to