Re: nsString

2011-12-05 Thread Igor Tandetnik
reference. -- Igor Tandetnik ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

Re: HTMLEmbedElement

2009-04-22 Thread Igor Tandetnik
Muggle wrote: > On Apr 22, 12:45 pm, "Igor Tandetnik" wrote: >> Muggle wrote: >>> When a clickable embedded element appears on a page (like a swf >>> file), the page it will take you to if you click on it (the landing >>> page). >> >> Y

Re: HTMLEmbedElement

2009-04-22 Thread Igor Tandetnik
just loads >> whatever its @src points to. > > When a clickable embedded element appears on a page (like a swf file), > the page it will take you to if you click on it (the landing page). You can't in general know this up front. A flash movie runs a script

Re: nsCOMPtr reference scope

2008-08-08 Thread Igor Tandetnik
riable pointer settings will automatically go out of scope or > I have to explicitly call addref. AddRef? You mean Release? > So the answer is "settings" will > orphan unless I use addref. You completely lost me here. -- With best wishes, Igor Tandetnik With sufficient t

Re: nsCOMPtr reference scope

2008-08-08 Thread Igor Tandetnik
AddRefs(settings)); And yes, nsCOMPtr destructor will call Release() on the interface pointer when 'settings' variable goes out of scope. > PS Those google validation characters are ridiculous!!! I must admit I have no idea what you are talking about. Igor Tandetnik ___

Re: custom source, how to?

2008-05-30 Thread Igor Tandetnik
tocol;1?name=myproto". The real work happens in nsIProtocolHandler::NewChannel where you need to create and return an nsIChannel implementation given a URL. Probably the easiest way is to use nsIInputStreamChannel component, which is a channel that gets its data from a stream (specifica

Re: Detecting the content type of a URL before you load it.

2007-10-26 Thread Igor Tandetnik
yet - not even Content-Type header. You need to wait for STATE_TRANSFERRING, I believe, and hope that the server actually sends Content-Type. Igor Tandetnik ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding

Re: MSVC 8.0 : Unresolved external with granparadiso source

2007-06-25 Thread Igor Tandetnik
t;public: wchar_t >>>> const * __thiscall nsString_external::get(void)const " >>>> ([EMAIL PROTECTED]@@QBEPB_WXZ) >>>> >>>> what about ? > > You probably have the /Zc:wchar_t flag set. With VC8, /Zc:wchar_t is on by default. One needs /Zc:wchar

Re: string -> nsAString

2007-05-21 Thread Igor Tandetnik
n to only hold 7-bit ASCII, use NS_ConvertASCIItoUTF16 and NS_LossyConvertUTF16toASCII. Igor Tandetnik ___ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding