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 something special to get this working ?

 Thanks,

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

Reply via email to