Vin wrote:
nsCOMPtr<nsIWebBrowserPersist> persist =
do_QueryInterface(mWebBrowser,&rv );

Ok... This works, I assume?


persist->SaveURI((nsIURI*)uri,nsnull,nsnull,nsnull,nsnull,(nsILocalFile*)"/root/Desktop/test.mp4");

No comment on casting strings to nsILocalFile...  It's wrong, though.

but its showing error as no matching function calls found.

Which ones, exactly?

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to