> Sounds like
> http://developer.mozilla.org/en/docs/Using_Dependent_Libraries_In_Extension_Components
> would help? (Sorry, that doesn't quite fit on one line...)
>
> HTH
>
> --
> Mook
> mook dot moz plus stuff at gmail
Thanx for the link. I will check this out.
ve an idea of getting rid of this problem... Thanx:)
Regards
Dimuthu
___
dev-tech-xpcom mailing list
dev-tech-xpcom@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-xpcom
hi,
There are functions very simillar to what you expected in js engine.
try on
JS_ExecuteScript(cx, globalObj, script, &result);
JS_EvaluateScript(cx, globalObj, source, strlen(source),
filename, lineno,
&rval);
There is a mightly help page i
hi,
Thanx for your suggesion. It actually fix the stuff. Earlier I was
returning directly from SetCurrentException
i.e: return xm-> SetCurrentException (e );
That was wrong. this always return NS_OK since the function success.
when i returning the actual failure code it works.
Hi,
I wrote a code that can raise exception from c++ xpcom and
handle the exception in javascript. It is compiling well. but is not
working. i.e. js never catch any exceptions
*my code for raise exception is like this (in short)
nsCOMPtr xs =
do_GetService(NS_EXCE