Re: newbie: marshalling question

2006-05-19 Thread sg
Thank you, I got the latest mozilla sources, I am building them on windows XP. I get the following build error(xpidl crashes): nsIConsoleListener.idl /cygdrive/c/mozilla/LatestMozilla/mozilla/build/cygwin-wrapper ../../dist/bin/xpidl.exe -m header -w -I/cygdrive/c/mozilla/LatestMozilla/mozilla/xp

GetURL() call crashes on Mac

2006-05-19 Thread Zobolyak Peter
Hi, porting my plugin to Mac I run into trouble: GetURL() call crashes. This works well on Windows and my whole plugin works well on Mac except this call. While debugging I found the right string in an internal string, so that part is ok. Do someone have an idea what's wrong with this call? Thank

Re: application update

2006-05-19 Thread Kate X
Thanks John, I've solved this problem by explicitly call: this._request instanceof Components.interfaces.nsIJSXMLHttpRequest; before assign the event handler. now I can download the mar file, but it seems the installation doesn't happend automatically, the update.status is changed to pending,

Re: How do I compile a component for Windows??

2006-05-19 Thread David
Benjamin, thanks a million!! that was the problem. I had to add those two libraries to the "Additional dependencies" entry in the project configuration. It's working now. thanks again. David. ___ dev-tech-xpcom mailing list dev-tech-xpcom@lists.mozilla

Re: How do I compile a component for Windows??

2006-05-19 Thread Benjamin Smedberg
David wrote: well... I've no idea. I just downloaded the sdk, the compiler, and try to build it. You have to tell your build tools which libraries you want to link against, of course. If you are using visual studio I believe there is a section of the properties pane which lets you specify wha

Re: How do I compile a component for Windows??

2006-05-19 Thread David
well... I've no idea. I just downloaded the sdk, the compiler, and try to build it. How do I know that?? ___ dev-tech-xpcom mailing list dev-tech-xpcom@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-xpcom

Re: How do I compile a component for Windows??

2006-05-19 Thread Benjamin Smedberg
David wrote: Creating library C:\Documents and Settings\David\Mis documentos\Visual Studio 2005\Projects\nswinprint\Debug\nswinprint.lib and object C:\Documents and Settings\David\Mis documentos\Visual Studio 2005\Projects\nswinprint\Debug\nswinprint.exp nswinprint.obj : error LNK2019: unreso

Re: How do I compile a component for Windows??

2006-05-19 Thread David
I try with the MinGW, it gives me a lot of similar errors: nsprint.o:nsprint.cpp:(.text+0x137f): undefined reference to `_imp___Z20NS_NewGenericModule2P12nsModuleInfoPP9nsIModule' ___ dev-tech-xpcom mailing list dev-tech-xpcom@lists.mozilla.org https://

DOM, how to get text out of text node

2006-05-19 Thread Andrea Belvedere
Hi all, i am stack on this: i am parsing a dom document, i reach a text node, but i can't get the text out of the text node. Hope some one can help. this is the code: childs is a nsIDOMNodeList. PRUint32 len, i; childs->GetLength( &len ); nsCOMPtr child; nsEmbedStr