Jon Smirl wrote:
On 3/3/06, Christian Biesinger <[EMAIL PROTECTED]> wrote:
Emanuel Dejanu wrote:
1. I want to develop an application that will be able to export objects
as XPCOM or COM. Is there a layer for this. So that I write a single code
and with a define I can get XPCOM or COM objects.
The actual COM and XPCOM objects are compatible. I.e., all you should
need to change is the registration code.
Does XPCOM offer dual interfaces on windows or do you need to use
invoke for everything?
XPCOM has no concept of IDispatch: scripting (xpconnect) is implemented by
inspecting the type library and coercing arguments into the correct form to
call on the interface. XPConnect does also support scripting of IDispatch
directly for MSCOM compatibility.
--BDS
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom