> > nsresult path_result = NS_NewLocalFile(NS_LITERAL_STRING("."),
It'd really help if you built with --enable-debug(ger-info-modules)
and stepped through, or read the code using a web browser and followed
the logic at e.g. http://mxr.mozilla.org/seamonkey
or you could probably read the documentation for nsIFile.
i believe you'll find that paths must start absolute and that for some
reason '.' and '~' and '..' and friends just aren't absolute paths. I
never quite understood why.
http://mxr.mozilla.org/seamonkey/source/xpcom/io/nsLocalFileOSX.cpp#1286
It looks like there's a bit of flexibility on macosx for ~, but the
general rule applies.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding