> It is probably that you have not complete set up everything needed to
> "embed" necko.
>
> Take a look at:
>
> http://lxr.mozilla.org/seamonkey/source/netwerk/test/TestProtocols.cpp
>
> Specifically at line 528.
>
> Let me know if that helps,


Thanx, but unfortunately that does not help.

Let me specify:

    My code resides in CSS parser. I add some new css property that point to
URI and file from that URI is what I'm trying to get. So after parsing that
property I try following code: (once more)
        nsIInputStream* in;
        rv = NS_OpenURI(&in, uri);
        if (NS_FAILED(rv))  return PR_FALSE;
        char c; PRUint32 count;
        rv = in->Read(&c, 1, &count);

but on any non-local URI Read() does not return and neither error nor
assertion nor whatever else happens...




Reply via email to