Re: newbie: marshalling question

2006-05-16 Thread Benjamin Smedberg
sg wrote: I am trying to port my activeX plugin to firefox.How do I marshall an XPCOM interface between threads ? see http://lxr.mozilla.org/mozilla/source/xpcom/proxy/public/nsIProxyObjectManager.idl However, it is hardly ever necessary to use threading in Mozilla (and can be iffy, since a

newbie: marshalling question

2006-05-16 Thread sg
I am trying to port my activeX plugin to firefox.How do I marshall an XPCOM interface between threads ? Thanks in advance! ___ dev-tech-xpcom mailing list dev-tech-xpcom@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-xpcom

Re: application update

2006-05-16 Thread John Bandhauer
Kate X wrote: After a couple of days of debugging , I am able to start the update service when application startup, but during the checkForUpdates, when trying to open xmlhttprequest for update.xml, I got this error: JavaScript Error: "[Exception... "Cannot modify properties of a WrappedNative"

Re: application update

2006-05-16 Thread Kate X
After a couple of days of debugging , I am able to start the update service when application startup, but during the checkForUpdates, when trying to open xmlhttprequest for update.xml, I got this error: JavaScript Error: "[Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80

AString IDL type

2006-05-16 Thread Fabrice Desré
Hello, I have an IDL method declared as in an XPCOM component: void hello(in AString world); so in C++ : NS_IMETHODIMP _MYCLASS_::Hello(const nsAString &world); However, each and every invocation of this method from JS (eg obj.hello("foo")) will lead to a world.Length() of 0. Do I need to do s

Re: Issue loading an XPCOM component

2006-05-16 Thread Fabrice Desré
Do not bother on this... I found my mistake in a badly written Makefile. Fabrice ___ dev-tech-xpcom mailing list dev-tech-xpcom@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-xpcom