For the last few days I've been trying to compile xulrunner with XPCOM 
IDispatch 
support. I think that I've turned on all the necessary build options; my 
.mozconfig is:

topsrcdir=/cygdrive/m/Mozilla/xulrunner/release-1.8.0.1/mozilla
mk_add_options [EMAIL PROTECTED]@/../builds/xulrunner.debug
mk_add_options MOZ_CO_PROJECT=xulrunner
ac_add_options --enable-application=xulrunner
ac_add_options --enable-debug
ac_add_options --enable-activex-scripting
ac_add_options --enable-activex
ac_add_options --enable-tests

I've been trying to test XPCOM IDispatch support with xpcshell by running tests 
from js/src/xpconnect/tests/idispatch/Tests. All the tests fail with the same 
error: "ReferenceError: COMObject is not defined". When I run xpcshell and try 
to create COM object with COMObject() in xpcshell I get the same error. This 
also happens for ActiveXObject().

I guess my question is: how can I get xpcshell to recognize and support 
IDispatch functions ?

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

Reply via email to