vonuyx wrote:
I find out that pDirectoryServiceProvider->GetFile(...) returns a false status. Does anyone know when I went wrong?

That should work. What do you mean with "false status"? Remember that a return value of 0 is NS_OK and indicates success.

Btw, how in general can I get the nsIFile of a file given it full path in Windows, for example: "c:\myfolder\myfile.dll"

In C++? NS_NewLocalFile (or NS_NewNativeLocalFile)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to