I have an application using this code working perfectly on linux.......
but on windows NS_NewURI is getting failed.......
uri is a char*...........

nsCOMPtr<nsIURI> linkURI;
link = NS_NewURI(getter_AddRefs(linkURI),uri);
if (NS_FAILED(link))
{
        printf("\ URI Creation Failed\n");
        return;
}

can anyone help me on this?
thanks in advance.....

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

Reply via email to