Well, but in fact NS_NewNativeLocalFile works and it's much more simple:)
Best regards
Vonuyx
Christian Biesinger wrote:
vonuyx wrote:
pServiceMng->GetServiceByContractID("@mozilla.org/file/directory_service;1",
NS_GET_IID(nsIDirectoryServiceProvider),
getter_AddRefs(pDirectoryServiceProvider));
Ah, wait, this is actually wrong. You should access this via
nsIProperties::get, not via nsIDirectoryServiceProvider.
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom