What do you mean by the last one in, is that the last 'xpt' file that is
read? Do all the xpt files get read at every start up, or are they read
once when first installed and then never again?
Either way this doesn't seem like a very robust solution, there _are_
going to be name clashes and it will break code.
Dave
> -----Original Message-----
> From: Simon P. Lucy [mailto:[EMAIL PROTECTED]]
> Sent: 21 December 2000 16:25
> To: David Brittain; [EMAIL PROTECTED]
> Subject: Re: Interface name resolution
>
>
> At 15:56 21/12/2000 +0000, David Brittain wrote:
> >How does interface name resolution work from javascript
> work. For example
> >what happens in the following javascript, if 'plugin' is a
> reference to a
> >plugin in the page:
> >
> >var plugin = 'plugin id';
> >
> >var interface = plugin.QueryInterface(Components.interfaces.IPlugin);
> >
> >In this case how does javascript know which IPlugin to use,
> given that
> >there may be a number of interfaces called IPlugin. As I
> understand it the
> >namespace feature in XPCOM is not implemented, therefore is
> there not a
> >problem with multiple vendors providing components which
> have the same
> >interface names. Is there any way to get around this?
>
> Last one in gets it
>
> Simon
>
>
>
> >Dave
> >
> >
>
>